From 81f666d8dc968427aa8f94a8f0dccbb5e121c98b Mon Sep 17 00:00:00 2001 From: RickXing Date: Sun, 10 Jun 2012 17:11:34 +0800 Subject: [PATCH] only address resque works in post_receive and mailer queue --- resque.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resque.sh b/resque.sh index 81a103ab..ce7c944b 100755 --- a/resque.sh +++ b/resque.sh @@ -1,2 +1,2 @@ mkdir -p tmp/pids -bundle exec rake environment resque:work QUEUE=* RAILS_ENV=production PIDFILE=tmp/pids/resque_worker.pid BACKGROUND=yes +bundle exec rake environment resque:work QUEUE=post_receive,mailer RAILS_ENV=production PIDFILE=tmp/pids/resque_worker.pid BACKGROUND=yes