Change some worker lock TTLs (#27246)
This commit is contained in:
parent
f1d3eda159
commit
8d73fbee87
11 changed files with 11 additions and 11 deletions
|
|
@ -3,7 +3,7 @@
|
|||
class Scheduler::ScheduledStatusesScheduler
|
||||
include Sidekiq::Worker
|
||||
|
||||
sidekiq_options retry: 0
|
||||
sidekiq_options retry: 0, lock: :until_executed, lock_ttl: 1.hour.to_i
|
||||
|
||||
def perform
|
||||
publish_scheduled_statuses!
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue