summary refs log tree commit diff
diff options
context:
space:
mode:
authorOlivier Wilkinson (reivilibre) <olivier@librepush.net>2019-08-30 15:19:50 +0100
committerOlivier Wilkinson (reivilibre) <olivier@librepush.net>2019-08-30 15:19:50 +0100
commit4ecc62b0b6d2608c912028cc72a2ff01b74d4f7d (patch)
tree4d19390c7942c4e883b79f1d45f3edbd794334b5
parent`users` table's ID field is actually called `name`. (diff)
downloadsynapse-4ecc62b0b6d2608c912028cc72a2ff01b74d4f7d.tar.xz
Whoops, took out a line there...
Signed-off-by: Olivier Wilkinson (reivilibre) <olivier@librepush.net>
-rw-r--r--synapse/storage/stats.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/storage/stats.py b/synapse/storage/stats.py
index 5591079cae..3bcfcaaeae 100644
--- a/synapse/storage/stats.py
+++ b/synapse/storage/stats.py
@@ -399,6 +399,7 @@ class StatsStore(StateDeltasStore):
                     SELECT COUNT(*) FROM room_stats_current
                     WHERE completed_delta_stream_id IS NULL
                 """
+            txn.execute(sql)
             progress["remaining"] = txn.fetchone()[0]
 
             return rooms_to_work_on