diff --git a/app/jobs/batch_operation_enqueue_all_job.rb b/app/jobs/batch_operation_enqueue_all_job.rb index b6dd99079..3b54879f8 100644 --- a/app/jobs/batch_operation_enqueue_all_job.rb +++ b/app/jobs/batch_operation_enqueue_all_job.rb @@ -1,7 +1,7 @@ # frozen_string_literal: true class BatchOperationEnqueueAllJob < ApplicationJob - queue_as :mailer # hotfix + queue_as :mailers # hotfix def perform(batch_operation) batch_operation.enqueue_all diff --git a/app/jobs/batch_operation_process_one_job.rb b/app/jobs/batch_operation_process_one_job.rb index e8b725b8e..04c18353a 100644 --- a/app/jobs/batch_operation_process_one_job.rb +++ b/app/jobs/batch_operation_process_one_job.rb @@ -1,7 +1,7 @@ # frozen_string_literal: true class BatchOperationProcessOneJob < ApplicationJob - queue_as :mailer # hotfix + queue_as :mailers # hotfix retry_on StandardError, attempts: 1 # default 5, for now no retryable behavior def perform(batch_operation, dossier)