jobs: migrate bulk reverts to ActiveJob.
This commit is contained in:
8
app/jobs/process_bulk_revert_job.rb
Normal file
8
app/jobs/process_bulk_revert_job.rb
Normal file
@@ -0,0 +1,8 @@
|
||||
class ProcessBulkRevertJob < ApplicationJob
|
||||
queue_as :default
|
||||
queue_with_priority 20
|
||||
|
||||
def perform(creator, constraints)
|
||||
BulkRevert.new.process(creator, constraints)
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user