about summary refs log tree commit diff
path: root/app/workers/pubsubhubbub
diff options
context:
space:
mode:
authorabcang <abcang1015@gmail.com>2017-09-06 03:56:20 +0900
committerEugen Rochko <eugen@zeonfederated.com>2017-09-05 20:56:20 +0200
commitbe7ffa2d7539d5a1946a3933cb9d242b9fac0ddc (patch)
tree7def482f34aed6f0bf079d3b277520023d181d59 /app/workers/pubsubhubbub
parente821c00e743160474072e78483f568dc4fdc6887 (diff)
Do not execute the job with the same arguments as the retry job (#4814)
Diffstat (limited to 'app/workers/pubsubhubbub')
-rw-r--r--app/workers/pubsubhubbub/subscribe_worker.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/workers/pubsubhubbub/subscribe_worker.rb b/app/workers/pubsubhubbub/subscribe_worker.rb
index 7560c2671..130c967e0 100644
--- a/app/workers/pubsubhubbub/subscribe_worker.rb
+++ b/app/workers/pubsubhubbub/subscribe_worker.rb
@@ -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