Skip to content

Commit

Permalink
Merge remote-tracking branch 'defunkt/master' into better_failure_hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
raykrueger committed Sep 17, 2011
2 parents 7113b0d + 11f3fac commit 40dcc85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/resque/worker.rb
Expand Up @@ -181,7 +181,7 @@ def perform(job)
def reserve
queues.each do |queue|
log! "Checking #{queue}"
if job = Resque::Job.reserve(queue)
if job = Resque.reserve(queue)
log! "Found job on #{queue}"
return job
end
Expand Down

0 comments on commit 40dcc85

Please sign in to comment.