0cfa9d6719
infra to deal with BatchOperation when their is a big load
9 lines
184 B
Ruby
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
|