Requeue expiration notification (#24311)

This commit is contained in:
Christian Schmidt
2023-03-29 10:52:40 +02:00
committed by GitHub
parent c384795731
commit eb38e9df31
4 changed files with 71 additions and 5 deletions

View File

@ -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)