We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea4697c commit f123976Copy full SHA for f123976
app/jobs/process_text_message_attachments_job.rb
@@ -1,7 +1,7 @@
1
class MissingAttachmentError < StandardError; end
2
3
class ProcessTextMessageAttachmentsJob < ApplicationJob
4
- retry_on MissingAttachmentError
+ retry_on MissingAttachmentError, attempts: 10
5
6
def perform(incoming_text_message_id, client_id, params)
7
attachments = TwilioService.new.parse_attachments(params)
0 commit comments