Class: Simplekiq::BatchTrackerJob

Inherits:
Object
  • Object
show all
Includes:
Sidekiq::Worker
Defined in:
lib/simplekiq/batch_tracker_job.rb

Instance Method Summary collapse

Instance Method Details

#perform(klass_name, bid, args) ⇒ Object



12
13
14
15
16
17
18
19
20
# File 'lib/simplekiq/batch_tracker_job.rb', line 12

def perform(klass_name, bid, args)
  # In the future, this will likely surface the toplevel batch to a callback method on the
  # orchestration job. We're holding off on this until we have time to design a comprehensive
  # plan for providing simplekiq-wide instrumentation, ideally while being backwards compatible
  # for in-flight orchestrations.

  # For now, it's just satisfying the all-batches-must-have-jobs limitation in sidekiq-pro
  # described at the head of the file.
end