Skip to content

Commit 37fbfd6

Browse files
committed
Retry on AirtableWebhookJob::LastTransactionMismatchError
1 parent f060565 commit 37fbfd6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

app/jobs/airtable_webhook_job.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
class AirtableWebhookJob < AirtableJob
44
class LastTransactionMismatchError < StandardError; end
55

6+
retry_on LastTransactionMismatchError, wait: :polynomially_longer
7+
68
def perform(airtable_info)
79
@airtable_info = airtable_info
810
@user = @airtable_info.identity.user

0 commit comments

Comments
 (0)