You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Gem sidekiq-lock and sidekiq-unique-jobs use the same option sidekiq_options lock: :until_executing sidekiq_options lock: { timeout: 1000, name: 'project_status_lock' }
which causes an error: NoMethodError: undefined method to_sym for {:timeout=>10000, :name=>"project_status_lock"}:Hash Did you mean? to_s, to_set /usr/local/bundle/gems/sidekiq-unique-jobs-6.0.13/lib/sidekiq_unique_jobs/options_with_fallback.rb:52:in lock_class'
because sidekiq-unique-jobs does not expect Hash as lock option value which need to be defined as hash in sidekiq-lock.
So far, I have not found a way to make these two gems work together.
The text was updated successfully, but these errors were encountered:
Hello,
Gem sidekiq-lock and sidekiq-unique-jobs use the same option
sidekiq_options lock: :until_executing
sidekiq_options lock: { timeout: 1000, name: 'project_status_lock' }
which causes an error:
NoMethodError: undefined method to_sym for {:timeout=>10000, :name=>"project_status_lock"}:Hash Did you mean? to_s, to_set /usr/local/bundle/gems/sidekiq-unique-jobs-6.0.13/lib/sidekiq_unique_jobs/options_with_fallback.rb:52:in lock_class'
because
sidekiq-unique-jobs
does not expect Hash as lock option value which need to be defined as hash in sidekiq-lock.So far, I have not found a way to make these two gems work together.
The text was updated successfully, but these errors were encountered: