From 660c9110970d1a1f905319f1410c7ff30ee1cb16 Mon Sep 17 00:00:00 2001 From: Steve Kenworthy Date: Tue, 8 Dec 2020 12:37:49 +0800 Subject: [PATCH] Drop sidekiq retries down to 3. --- app/jobs/azure_notify_job.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/jobs/azure_notify_job.rb b/app/jobs/azure_notify_job.rb index 84df5f734..cc082df2a 100644 --- a/app/jobs/azure_notify_job.rb +++ b/app/jobs/azure_notify_job.rb @@ -1,5 +1,6 @@ class AzureNotifyJob < ActiveJob::Base queue_as :default + sidekiq_options retry: 3, dead: false # will retry 5 times and then disappear def perform(channel, data, app_name) AzureNotificationsService.new(app_name).notify(channel, data)