From ee19268720ef5629d18c445a5faa69e5f074999b Mon Sep 17 00:00:00 2001 From: mfo Date: Tue, 24 Sep 2024 11:24:02 +0200 Subject: [PATCH] fix(typo): mailerS --- app/jobs/batch_operation_enqueue_all_job.rb | 2 +- app/jobs/batch_operation_process_one_job.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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)