Skip to content

Commit

Permalink
forgot to commit a method
Browse files Browse the repository at this point in the history
  • Loading branch information
iamnader committed Oct 28, 2010
1 parent 6797944 commit f054208
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions lib/delayed/worker.rb
Expand Up @@ -182,9 +182,10 @@ def reserve_and_run_one_job

run(job) if job
end
end

def find_available_jobs
Delayed::Job.find_available(name, 5, self.class.max_run_time)
def find_available_jobs
Delayed::Job.find_available(name, 5, self.class.max_run_time)
end
end

end

0 comments on commit f054208

Please sign in to comment.