From fca3a9c121e3ad463759e6bdb54442712fc819cd Mon Sep 17 00:00:00 2001 From: "Olivier Wilkinson (reivilibre)" Date: Fri, 30 Aug 2019 17:01:24 +0100 Subject: Fix to use milliseconds Signed-off-by: Olivier Wilkinson (reivilibre) --- synapse/storage/stats.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'synapse/storage/stats.py') diff --git a/synapse/storage/stats.py b/synapse/storage/stats.py index 2c7f57c251..804be45c5f 100644 --- a/synapse/storage/stats.py +++ b/synapse/storage/stats.py @@ -308,7 +308,7 @@ class StatsStore(StateDeltasStore): return 1 for (user_id,) in users_to_work_on: - now = self.hs.get_reactor().seconds() + now = self.clock.time_msec() def _process_user(txn): # Get the current token -- cgit 1.5.1