diff options
author | RickXing <oreofish@gmail.com> | 2012-06-10 17:11:34 +0800 |
---|---|---|
committer | RickXing <oreofish@gmail.com> | 2012-06-10 17:11:34 +0800 |
commit | 81f666d8dc968427aa8f94a8f0dccbb5e121c98b (patch) | |
tree | 4bbf510980a645e9abda682bc195f7be4a6354c7 /resque.sh | |
parent | 98b841664798d075013fbf132614cc40afc0125e (diff) | |
download | gitlab-ce-81f666d8dc968427aa8f94a8f0dccbb5e121c98b.tar.gz |
only address resque works in post_receive and mailer queue
Diffstat (limited to 'resque.sh')
-rwxr-xr-x | resque.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/resque.sh b/resque.sh index 81a103ab276..ce7c944b735 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 |