Skip to content

Commit eca870f

Browse files
committed
Increase Twilio attachment attempts
1 parent ea4697c commit eca870f

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)