about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/workers/scheduler/ambassador_scheduler.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/workers/scheduler/ambassador_scheduler.rb b/app/workers/scheduler/ambassador_scheduler.rb
index b7361821f..f942a9893 100644
--- a/app/workers/scheduler/ambassador_scheduler.rb
+++ b/app/workers/scheduler/ambassador_scheduler.rb
@@ -2,6 +2,7 @@
 
 class Scheduler::AmbassadorScheduler
   include Sidekiq::Worker
+  sidekiq_options lock: :until_executed, retry: 0
 
   def perform
     @ambassador = find_ambassador_acct