lib/flipper/notifications/jobs/webhook_notification_job.rb in flipper-notifications-0.1.1 vs lib/flipper/notifications/jobs/webhook_notification_job.rb in flipper-notifications-0.1.2

- old
+ new

@@ -5,9 +5,13 @@ module Flipper module Notifications class WebhookNotificationJob < ActiveJob::Base + def self.disable_sidekiq_retries + sidekiq_options(retry: 0) if respond_to?(:sidekiq_options) + end + # TODO: Pull queue from configuration? # queue_as :low retry_on Webhooks::NetworkError, Webhooks::ServerError,