Class: CanvasSync::JobBatches::SerialBatchJob

Inherits:
BaseJob
  • Object
show all
Defined in:
lib/canvas_sync/job_batches/jobs/serial_batch_job.rb

Instance Method Summary collapse

Instance Method Details

#perform(sub_jobs, context: nil) ⇒ Object



6
7
8
9
10
11
12
13
# File 'lib/canvas_sync/job_batches/jobs/serial_batch_job.rb', line 6

def perform(sub_jobs, context: nil)
  ManagedBatchJob.new.perform(
    sub_jobs,
    context: context,
    ordered: true,
    concurrency: false,
  )
end