mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-01-28 16:28:01 -05:00
Collect simple vote count stats.
This commit is contained in:
@@ -1564,6 +1564,9 @@ def process_votes(qname, limit=0):
|
||||
update_comment_votes([votee])
|
||||
timer.intermediate("update_comment_votes")
|
||||
|
||||
stats.simple_event('vote.total')
|
||||
if cheater:
|
||||
stats.simple_event('vote.cheater')
|
||||
timer.flush()
|
||||
|
||||
amqp.consume_items(qname, _handle_vote, verbose = False)
|
||||
|
||||
Reference in New Issue
Block a user