summary refs log tree commit diff
path: root/synapse/handlers/stats.py
diff options
context:
space:
mode:
authorOlivier Wilkinson (reivilibre) <olivier@librepush.net>2019-08-27 14:10:39 +0100
committerOlivier Wilkinson (reivilibre) <olivier@librepush.net>2019-08-27 14:10:39 +0100
commit3b09a37682140a671106abac36fe8a1c8686a512 (patch)
treefce7fb50e0ae691623dccb45b5c9a93eafd820b0 /synapse/handlers/stats.py
parentMerge branch 'rei/rss_inc2' into rei/rss_inc3 (diff)
downloadsynapse-3b09a37682140a671106abac36fe8a1c8686a512.tar.xz
Adapt to stats now working in milliseconds
Signed-off-by: Olivier Wilkinson (reivilibre) <olivier@librepush.net>
Diffstat (limited to '')
-rw-r--r--synapse/handlers/stats.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/stats.py b/synapse/handlers/stats.py
index 156adfd310..3dbc0a2434 100644
--- a/synapse/handlers/stats.py
+++ b/synapse/handlers/stats.py
@@ -153,7 +153,7 @@ class StatsHandler(StateDeltasHandler):
             # We use stream_pos here rather than fetch by event_id as event_id
             # may be None
             now = yield self.store.get_received_ts_by_stream_pos(stream_pos)
-            now = int(now) // 1000
+            now = int(now)
 
             room_stats_delta = {}
             room_stats_complete = False