about summary refs log tree commit diff
path: root/app/workers
diff options
context:
space:
mode:
authorThibG <thib@sitedethib.com>2019-07-15 01:04:31 +0200
committerGitHub <noreply@github.com>2019-07-15 01:04:31 +0200
commit5ccd011cc3bafc00a557dabbb47da004f3d4a381 (patch)
treec64218e9cdd13570181b0a1b9c86289aa4b22254 /app/workers
parent1b074d2a50a331cdd03296170f04a75eec97a519 (diff)
parent3ad8c9ea61759c8ac12744f2b7b263711403b41c (diff)
Merge pull request #1161 from ThibG/glitch-soc/cherry-pick-upstream
Cherry pick changes from upstream
Diffstat (limited to 'app/workers')
-rw-r--r--app/workers/web/push_notification_worker.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/workers/web/push_notification_worker.rb b/app/workers/web/push_notification_worker.rb
index 8e8a35973..901043975 100644
--- a/app/workers/web/push_notification_worker.rb
+++ b/app/workers/web/push_notification_worker.rb
@@ -3,7 +3,7 @@
 class Web::PushNotificationWorker
   include Sidekiq::Worker
 
-  sidekiq_options backtrace: true
+  sidekiq_options backtrace: true, retry: 5
 
   def perform(subscription_id, notification_id)
     subscription = ::Web::PushSubscription.find(subscription_id)