Commit e0880559bddf6ec1ac964ccc9b6fee2304e1d6c0
Exists in
master
and in
4 other branches
Merge pull request #914 from oreofish/betterqueue
only address resque works in post_receive and mailer queue
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
resque.sh
1 | mkdir -p tmp/pids | 1 | mkdir -p tmp/pids |
2 | -bundle exec rake environment resque:work QUEUE=* RAILS_ENV=production PIDFILE=tmp/pids/resque_worker.pid BACKGROUND=yes | 2 | +bundle exec rake environment resque:work QUEUE=post_receive,mailer RAILS_ENV=production PIDFILE=tmp/pids/resque_worker.pid BACKGROUND=yes |