write_comment_orders: Add counters to track writes vs. noops
[reddit.git] / upstart / reddit-consumer-vote_comment_q.conf
blob6343c4ab6ad5a90f1fcd146b0bd66ea82cbcd931
1 description "process votes cast on comments"
3 instance $x
5 stop on reddit-stop or runlevel [016]
7 respawn
8 respawn limit 10 5
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