Change some worker lock TTLs (#27246)
This commit is contained in:
parent
7e7d6e695b
commit
5e56f3db65
11 changed files with 11 additions and 11 deletions
|
@ -3,7 +3,7 @@
|
|||
class PublishScheduledStatusWorker
|
||||
include Sidekiq::Worker
|
||||
|
||||
sidekiq_options lock: :until_executed
|
||||
sidekiq_options lock: :until_executed, lock_ttl: 1.hour.to_i
|
||||
|
||||
def perform(scheduled_status_id)
|
||||
scheduled_status = ScheduledStatus.find(scheduled_status_id)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue