OSDN Git Service
(root)
/
wvm
/
gitlab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
98b8416
)
only address resque works in post_receive and mailer queue
author
RickXing
<oreofish@gmail.com>
Sun, 10 Jun 2012 09:11:34 +0000
(17:11 +0800)
committer
RickXing
<oreofish@gmail.com>
Sun, 10 Jun 2012 09:11:34 +0000
(17:11 +0800)
resque.sh
patch
|
blob
|
history
diff --git
a/resque.sh
b/resque.sh
index
81a103a
..
ce7c944
100755
(executable)
--- 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