Class: RunTasksForAllExecutionTypesJob

Inherits:
ContainerBrokerBaseJob show all
Defined in:
app/jobs/run_tasks_for_all_execution_types_job.rb

Constant Summary

Constants inherited from ContainerBrokerBaseJob

ContainerBrokerBaseJob::JOB_METRIC

Instance Method Summary collapse

Methods inherited from ContainerBrokerBaseJob

request_id_from_args

Instance Method Details

#performObject



6
7
8
9
10
# File 'app/jobs/run_tasks_for_all_execution_types_job.rb', line 6

def perform
  Slot.pluck(:execution_type).uniq.each do |execution_type|
    RunTasksJob.perform_later(execution_type: execution_type)
  end
end