repo.or.cz
/
reddit.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
r.syncedSessionStorage: Get values from e.originalEvent
[reddit.git]
/
upstart
/
reddit-consumer-vote_comment_q.conf
blob
ed16cf8e6f315e329c391771d7ecc89b9ba89f89
1
description "process votes cast on comments"
2
3
instance $x
4
5
stop on reddit-stop or runlevel [016]
6
7
respawn
8
respawn limit 10 5
9
10
nice 10
11
script
12
. /etc/default/reddit
13
wrap-job paster run --proctitle vote_comment_q$x $REDDIT_INI -c 'from r2.lib.voting import consume_vote_queue; consume_vote_queue("vote_comment_q")'
14
end script