Merge pull request #914 from oreofish/betterqueue

only address resque works in post_receive and mailer queue
This commit is contained in:
Valeriy Sizov 2012-06-10 11:40:53 -07:00
commit e0880559bd

View file

@ -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