0
0
Fork 0

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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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)