Commit 81f666d8dc968427aa8f94a8f0dccbb5e121c98b

Authored by RickXing
1 parent 98b84166

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