Skip to content

Commit 9e161dd

Browse files
Erica Kwandefunkt
authored andcommitted
Logging that a worker has started if it is verbose, like the rest of Resque.
1 parent f44436a commit 9e161dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/resque/tasks.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
abort "set QUEUE env var, e.g. $ QUEUE=critical,high rake resque:work"
2020
end
2121

22-
puts "*** Starting worker #{worker}"
22+
worker.log "Starting worker #{worker}"
2323

2424
worker.work(ENV['INTERVAL'] || 5) # interval, will block
2525
end

0 commit comments

Comments
 (0)