diff options
author | Olivier Wilkinson (reivilibre) <olivier@librepush.net> | 2019-08-29 14:10:21 +0100 |
---|---|---|
committer | Olivier Wilkinson (reivilibre) <olivier@librepush.net> | 2019-08-29 14:10:21 +0100 |
commit | 39dbee2a3e129415e2c20aa9a4f5f866e723fe41 (patch) | |
tree | f392fbcfefd4a35b46da7c08a7d68de0eb300ab1 /synapse/handlers/stats.py | |
parent | Update total_events and total_event_bytes on new events. (diff) | |
download | synapse-39dbee2a3e129415e2c20aa9a4f5f866e723fe41.tar.xz |
Count total_events and total_event_bytes within the loop.
In this case, we still update these counts if we get stuck in the loop because the server is busy. Signed-off-by: Olivier Wilkinson (reivilibre) <olivier@librepush.net>
Diffstat (limited to 'synapse/handlers/stats.py')
-rw-r--r-- | synapse/handlers/stats.py | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/synapse/handlers/stats.py b/synapse/handlers/stats.py |