From 3b09a37682140a671106abac36fe8a1c8686a512 Mon Sep 17 00:00:00 2001 From: "Olivier Wilkinson (reivilibre)" Date: Tue, 27 Aug 2019 14:10:39 +0100 Subject: Adapt to stats now working in milliseconds Signed-off-by: Olivier Wilkinson (reivilibre) --- synapse/handlers/stats.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit 1.4.1