examples/inline_worker.rb in sidekiq-unique-jobs-6.0.0.rc6 vs examples/inline_worker.rb in sidekiq-unique-jobs-6.0.0.rc7
- old
+ new
@@ -2,10 +2,10 @@
# :nocov:
class InlineWorker
include Sidekiq::Worker
- sidekiq_options unique: :while_executing, lock_timeout: 5
+ sidekiq_options lock: :while_executing, lock_timeout: 5
def perform(one)
TestClass.run(one)
end
end