Fix error on new_promo page.
[reddit.git] / upstart / reddit-consumer-vote_comment_q.conf
blobf2174471562cf12bac431ffcd20140f2a1987079
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.db import queries; queries.process_votes(queries.vote_comment_q)'
14 end script