From 4ecc62b0b6d2608c912028cc72a2ff01b74d4f7d Mon Sep 17 00:00:00 2001 From: "Olivier Wilkinson (reivilibre)" Date: Fri, 30 Aug 2019 15:19:50 +0100 Subject: [PATCH] Whoops, took out a line there... Signed-off-by: Olivier Wilkinson (reivilibre) --- synapse/storage/stats.py | 1 + 1 file changed, 1 insertion(+) 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