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
write_comment_orders: Add counters to track writes vs. noops
[reddit.git]
/
upstart
/
reddit-consumer-vote_comment_q.conf
blob
6343c4ab6ad5a90f1fcd146b0bd66ea82cbcd931
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_comment_vote_queue; consume_comment_vote_queue()'
14
end script