Merge pull request #10860 from mfo/US/fix-queue-typo

fix(typo): mailerS
This commit is contained in:
Colin Darie 2024-09-24 09:44:02 +00:00 committed by GitHub
commit e48b845e66
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -1,7 +1,7 @@
# frozen_string_literal: true # frozen_string_literal: true
class BatchOperationEnqueueAllJob < ApplicationJob class BatchOperationEnqueueAllJob < ApplicationJob
queue_as :mailer # hotfix queue_as :mailers # hotfix
def perform(batch_operation) def perform(batch_operation)
batch_operation.enqueue_all batch_operation.enqueue_all

View file

@ -1,7 +1,7 @@
# frozen_string_literal: true # frozen_string_literal: true
class BatchOperationProcessOneJob < ApplicationJob class BatchOperationProcessOneJob < ApplicationJob
queue_as :mailer # hotfix queue_as :mailers # hotfix
retry_on StandardError, attempts: 1 # default 5, for now no retryable behavior retry_on StandardError, attempts: 1 # default 5, for now no retryable behavior
def perform(batch_operation, dossier) def perform(batch_operation, dossier)