From 1894419915c2869bc69262a69f0713ba40eee5d5 Mon Sep 17 00:00:00 2001 From: Richard van der Hoff Date: Thu, 4 Nov 2021 16:08:48 +0000 Subject: [PATCH] disable background updates --- synapse/storage/background_updates.py | 1 + 1 file changed, 1 insertion(+) diff --git a/synapse/storage/background_updates.py b/synapse/storage/background_updates.py index 82b31d24f1..2e1bd2f745 100644 --- a/synapse/storage/background_updates.py +++ b/synapse/storage/background_updates.py @@ -101,6 +101,7 @@ class BackgroundUpdater: self._all_done = False def start_doing_background_updates(self) -> None: + return run_as_background_process("background_updates", self.run_background_updates) async def run_background_updates(self, sleep: bool = True) -> None: