mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-01-29 00:38:11 -05:00
cloudsearch: Decorate cloudsearch_q with stats.
This commit is contained in:
committed by
Chad Birch
parent
833b717dd5
commit
fcd89dc007
@@ -576,6 +576,7 @@ def chunk_xml(xml, depth=0):
|
||||
yield chunk
|
||||
|
||||
|
||||
@g.stats.amqp_processor('cloudsearch_q')
|
||||
def _run_changed(msgs, chan):
|
||||
'''Consume the cloudsearch_changes queue, and print reporting information
|
||||
on how long it took and how many remain
|
||||
|
||||
Reference in New Issue
Block a user