summary refs log tree commit diff
path: root/synapse/storage
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2021-11-04 16:08:48 +0000
committerRichard van der Hoff <richard@matrix.org>2021-11-04 16:08:48 +0000
commit1894419915c2869bc69262a69f0713ba40eee5d5 (patch)
treef7132a3313d0cecc4cfbc284f59de9fcf4f35016 /synapse/storage
parentUpdate changelog (diff)
downloadsynapse-1.46-modular1.tar.xz
disable background updates v1.46-modular1
Diffstat (limited to 'synapse/storage')
-rw-r--r--synapse/storage/background_updates.py1
1 files changed, 1 insertions, 0 deletions
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: