commentstree_q: Process up to 200 items at a time

When precomputing comment sorts the queues can back up. Hopefully this will
let them process faster.
This commit is contained in:
Brian Simpson
2016-03-14 14:59:35 -07:00
parent d2db50e07f
commit b1e616b0fd

View File

@@ -1716,7 +1716,7 @@ def run_new_comments(limit=1000):
amqp.handle_items('newcomments_q', _run_new_comments, limit=limit)
def run_commentstree(qname="commentstree_q", limit=100):
def run_commentstree(qname="commentstree_q", limit=200):
"""Add new incoming comments to their respective comments trees"""
@g.stats.amqp_processor(qname)