Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Logging that a worker has started if it is verbose, like the rest of …

…Resque.
  • Loading branch information...
commit 9e161dd82fcc86fb01c19d910553d7b61b952c8f 1 parent f44436a
Erica Kwan authored defunkt committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/resque/tasks.rb
View
2  lib/resque/tasks.rb
@@ -19,7 +19,7 @@
abort "set QUEUE env var, e.g. $ QUEUE=critical,high rake resque:work"
end
- puts "*** Starting worker #{worker}"
+ worker.log "Starting worker #{worker}"
worker.work(ENV['INTERVAL'] || 5) # interval, will block
end
Please sign in to comment.
Something went wrong with that request. Please try again.