demarches-normaliennes/app/jobs/batch_operation_enqueue_all_job.rb
mfo 0cfa9d6719
fix(batch): this is a hotfix, please be nice we just want to allow our
infra to deal with BatchOperation when their is a big load
2024-09-24 09:34:37 +02:00

9 lines
184 B
Ruby

# frozen_string_literal: true
class BatchOperationEnqueueAllJob < ApplicationJob
queue_as :mailer # hotfix
def perform(batch_operation)
batch_operation.enqueue_all
end
end