0
0
Fork 0

Change some worker lock TTLs (#27246)

This commit is contained in:
Claire 2023-10-03 10:09:00 +02:00 committed by GitHub
parent 7e7d6e695b
commit 5e56f3db65
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 11 additions and 11 deletions

View file

@ -3,7 +3,7 @@
class VerifyAccountLinksWorker
include Sidekiq::Worker
sidekiq_options queue: 'default', retry: false, lock: :until_executed
sidekiq_options queue: 'default', retry: false, lock: :until_executed, lock_ttl: 1.hour.to_i
def perform(account_id)
account = Account.find(account_id)