Requeue expiration notification (#24311)
This commit is contained in:
parent
c384795731
commit
eb38e9df31
4 changed files with 71 additions and 5 deletions
|
@ -3,7 +3,7 @@
|
|||
class PollExpirationNotifyWorker
|
||||
include Sidekiq::Worker
|
||||
|
||||
sidekiq_options lock: :until_executed
|
||||
sidekiq_options lock: :until_executing
|
||||
|
||||
def perform(poll_id)
|
||||
@poll = Poll.find(poll_id)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue