diff options
author | Mark Haines <mark.haines@matrix.org> | 2015-11-10 15:50:58 +0000 |
---|---|---|
committer | Mark Haines <mark.haines@matrix.org> | 2015-11-10 15:50:58 +0000 |
commit | a412b9a465cb6a64f44e3656d8645977f43c275f (patch) | |
tree | 7b749e92ec5972fc0d1e300b678e755f5829734c /synapse/app/homeserver.py | |
parent | Add background update task for reindexing event search (diff) | |
download | synapse-a412b9a465cb6a64f44e3656d8645977f43c275f.tar.xz |
Run the background updates when starting synapse.
Diffstat (limited to 'synapse/app/homeserver.py')
-rwxr-xr-x | synapse/app/homeserver.py | 1 |
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 |