Browse files

no queues

  • Loading branch information...
1 parent 7ed4ca0 commit 0c1a7ffb00de9172b5726aa485dec4a603ea8fef @mrb committed Oct 11, 2011
Showing with 0 additions and 4 deletions.
  1. +0 −4 lib/resque/tasks.rb
View
4 lib/resque/tasks.rb
@@ -8,17 +8,13 @@
task :work => [ :preload, :setup ] do
require 'resque'
- queues = (ENV['QUEUES'] || ENV['QUEUE']).to_s.split(',')
-
begin
#worker = Resque::Worker.new(*queues)
supervisor = Resque::Supervisor.new
supervisor.spawn_workers
supervisor.watch_workers
#worker.verbose = ENV['LOGGING'] || ENV['VERBOSE']
#worker.very_verbose = ENV['VVERBOSE']
- rescue Resque::NoQueueError
- abort "set QUEUE env var, e.g. $ QUEUE=critical,high rake resque:work"
end
if ENV['BACKGROUND']

0 comments on commit 0c1a7ff

Please sign in to comment.