Module: Delayed::JobGroups::JobExtensions::ReadyToRunExtension

Defined in:
lib/delayed/job_groups/job_extensions.rb

Instance Method Summary collapse

Instance Method Details

#ready_to_run(worker_name, max_run_time) ⇒ Object



8
9
10
# File 'lib/delayed/job_groups/job_extensions.rb', line 8

def ready_to_run(worker_name, max_run_time)
  super(worker_name, max_run_time).where(blocked: false)
end