summary refs log tree commit diff
path: root/synapse/app/homeserver.py
diff options
context:
space:
mode:
authorMark Haines <mark.haines@matrix.org>2015-11-10 15:50:58 +0000
committerMark Haines <mark.haines@matrix.org>2015-11-10 15:50:58 +0000
commita412b9a465cb6a64f44e3656d8645977f43c275f (patch)
tree7b749e92ec5972fc0d1e300b678e755f5829734c /synapse/app/homeserver.py
parentAdd background update task for reindexing event search (diff)
downloadsynapse-a412b9a465cb6a64f44e3656d8645977f43c275f.tar.xz
Run the background updates when starting synapse.
Diffstat (limited to 'synapse/app/homeserver.py')
-rwxr-xr-xsynapse/app/homeserver.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/app/homeserver.py b/synapse/app/homeserver.py
index a77535a4ee..cd7a52ec07 100755
--- a/synapse/app/homeserver.py
+++ b/synapse/app/homeserver.py
@@ -439,6 +439,7 @@ def setup(config_options):
     hs.get_pusherpool().start()
     hs.get_state_handler().start_caching()
     hs.get_datastore().start_profiling()
+    hs.get_datastore().start_doing_background_updates()
     hs.get_replication_layer().start_get_pdu_cache()
 
     return hs