Files
reddit/upstart/reddit-consumer-commentstree_q.conf
Neil Williams 713a8ee112 Shard commentstree_q processing by Link ID.
This should better isolate large threads and increase batch
effectiveness.
2013-06-19 16:12:24 -07:00

16 lines
355 B
Plaintext

description "place new comments in the precomputed comment trees"
instance $type$x
env type=commentstree_q
stop on reddit-stop or runlevel [016]
respawn
respawn limit 10 5
nice 10
script
. /etc/default/reddit
wrap-job paster run --proctitle $type$x $REDDIT_INI $REDDIT_ROOT/r2/lib/db/queries.py -c "run_commentstree(qname='$type')"
end script