diff options
author | reivilibre <oliverw@matrix.org> | 2022-05-10 11:08:45 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-10 11:08:45 +0100 |
commit | 699192fc1a1055a4bec2345bc80f120f28470c73 (patch) | |
tree | 60c884b99b94732c70871f30522a942ebfdd7750 /synapse/app/admin_cmd.py | |
parent | Changelog typo (diff) | |
download | synapse-699192fc1a1055a4bec2345bc80f120f28470c73.tar.xz |
Add the `update_user_directory_from_worker` configuration option (superseding `update_user_directory`) to allow a generic worker to be designated as the worker to update the user directory. (#12654)
Co-authored-by: Shay <hillerys@element.io>
Diffstat (limited to 'synapse/app/admin_cmd.py')
-rw-r--r-- | synapse/app/admin_cmd.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/app/admin_cmd.py b/synapse/app/admin_cmd.py index 2b0d92cbae..2a4c2e59cd 100644 --- a/synapse/app/admin_cmd.py +++ b/synapse/app/admin_cmd.py @@ -210,7 +210,7 @@ def start(config_options: List[str]) -> None: config.logging.no_redirect_stdio = True # Explicitly disable background processes - config.server.update_user_directory = False + config.worker.should_update_user_directory = False config.worker.run_background_tasks = False config.worker.start_pushers = False config.worker.pusher_shard_config.instances = [] |