Skip to content

Commit f123976

Browse files
authored
Increase Twilio attachment attempts (#6099)
1 parent ea4697c commit f123976

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/jobs/process_text_message_attachments_job.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
class MissingAttachmentError < StandardError; end
22

33
class ProcessTextMessageAttachmentsJob < ApplicationJob
4-
retry_on MissingAttachmentError
4+
retry_on MissingAttachmentError, attempts: 10
55

66
def perform(incoming_text_message_id, client_id, params)
77
attachments = TwilioService.new.parse_attachments(params)

0 commit comments

Comments
 (0)