about summary refs log tree commit diff
path: root/app/workers/pubsubhubbub/delivery_worker.rb
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-12-12 21:12:19 +0100
committerEugen Rochko <eugen@zeonfederated.com>2016-12-12 21:12:19 +0100
commit668013265c3153383088d9dd53970ae837c1d405 (patch)
treee2794433dc0f4548d33c505e5d75383526425efa /app/workers/pubsubhubbub/delivery_worker.rb
parent908fcf83c6a2df34769f04c98fbe0edf31f6959f (diff)
Restoring old async behaviour of thread resolving as it proved to be more robust
Diffstat (limited to 'app/workers/pubsubhubbub/delivery_worker.rb')
-rw-r--r--app/workers/pubsubhubbub/delivery_worker.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/workers/pubsubhubbub/delivery_worker.rb b/app/workers/pubsubhubbub/delivery_worker.rb
index 20c72ce24..35bf7b2f0 100644
--- a/app/workers/pubsubhubbub/delivery_worker.rb
+++ b/app/workers/pubsubhubbub/delivery_worker.rb
@@ -4,7 +4,7 @@ class Pubsubhubbub::DeliveryWorker
   include Sidekiq::Worker
   include RoutingHelper
 
-  sidekiq_options queue: 'push'
+  sidekiq_options queue: 'push', retry: 5
 
   def perform(subscription_id, payload)
     subscription = Subscription.find(subscription_id)