summary refs log tree commit diff
diff options
context:
space:
mode:
authorOlivier Wilkinson (reivilibre) <olivier@librepush.net>2019-08-30 17:01:24 +0100
committerOlivier Wilkinson (reivilibre) <olivier@librepush.net>2019-08-30 17:01:24 +0100
commitfca3a9c121e3ad463759e6bdb54442712fc819cd (patch)
tree4b4f050abf45ff66c3303e08c0c523189c5005c4
parentAdapt to use renamed `room_state` (diff)
downloadsynapse-github/rei/rss_inc7.tar.xz
Fix to use milliseconds github/rei/rss_inc7 rei/rss_inc7
Signed-off-by: Olivier Wilkinson (reivilibre) <olivier@librepush.net>
-rw-r--r--synapse/storage/stats.py2
1 files changed, 1 insertions, 1 deletions
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