diff --git a/app/jobs/deliver_authorization_request_webhook_job.rb b/app/jobs/deliver_authorization_request_webhook_job.rb index 78ce6afc5..39f5f2860 100644 --- a/app/jobs/deliver_authorization_request_webhook_job.rb +++ b/app/jobs/deliver_authorization_request_webhook_job.rb @@ -3,7 +3,7 @@ class DeliverAuthorizationRequestWebhookJob < ApplicationJob class WebhookDeliveryFailedError < StandardError; end - retry_on(WebhookDeliveryFailedError, wait: :polynomially_longer) + retry_on(WebhookDeliveryFailedError, wait: :polynomially_longer, attempts: :unlimited) def serialize super.merge('tries_count' => (@attempts || 1) + 1)