0
0
Fork 0

Do not execute the job with the same arguments as the retry job (#4814)

This commit is contained in:
abcang 2017-09-06 03:56:20 +09:00 committed by Eugen Rochko
parent e821c00e74
commit be7ffa2d75
4 changed files with 25 additions and 1 deletions

View file

@ -3,7 +3,7 @@
class Pubsubhubbub::SubscribeWorker
include Sidekiq::Worker
sidekiq_options queue: 'push', retry: 10, unique: :until_executed, dead: false
sidekiq_options queue: 'push', retry: 10, unique: :until_executed, dead: false, unique_retry: true
sidekiq_retry_in do |count|
case count