about summary refs log tree commit diff
path: root/app/workers/regeneration_worker.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/workers/regeneration_worker.rb')
-rw-r--r--app/workers/regeneration_worker.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/workers/regeneration_worker.rb b/app/workers/regeneration_worker.rb
index 5c6a040bd..5c13c894f 100644
--- a/app/workers/regeneration_worker.rb
+++ b/app/workers/regeneration_worker.rb
@@ -3,7 +3,7 @@
 class RegenerationWorker
   include Sidekiq::Worker
 
-  sidekiq_options unique: :until_executed
+  sidekiq_options lock: :until_executed
 
   def perform(account_id, _ = :home)
     account = Account.find(account_id)