do not run resque verbose by default

This commit is contained in:
wvengen 2014-01-15 17:28:20 +01:00
parent 4e68d3b7f5
commit af3761fcf5

View file

@ -4,7 +4,7 @@ def run_worker(queue, count = 1)
puts "Starting #{count} worker(s) with QUEUE: #{queue}" puts "Starting #{count} worker(s) with QUEUE: #{queue}"
ops = {:pgroup => true, :err => ["log/resque_worker_foodsoft_notifier.log", "a"], ops = {:pgroup => true, :err => ["log/resque_worker_foodsoft_notifier.log", "a"],
:out => ["log/resque_worker_foodsoft_notifier.log", "a"]} :out => ["log/resque_worker_foodsoft_notifier.log", "a"]}
env_vars = {"QUEUE" => queue.to_s, "PIDFILE" => "tmp/pids/resque_worker_foodsoft_notifier.pid", "VERBOSE" => "1"} env_vars = {"QUEUE" => queue.to_s, "PIDFILE" => "tmp/pids/resque_worker_foodsoft_notifier.pid"}
count.times { count.times {
## Using Kernel.spawn and Process.detach because regular system() call would ## Using Kernel.spawn and Process.detach because regular system() call would
## cause the processes to quit when capistrano finishes ## cause the processes to quit when capistrano finishes