summary refs log tree commit diff
path: root/synapse/config/server.py
diff options
context:
space:
mode:
authorreivilibre <oliverw@matrix.org>2022-05-10 11:08:45 +0100
committerGitHub <noreply@github.com>2022-05-10 11:08:45 +0100
commit699192fc1a1055a4bec2345bc80f120f28470c73 (patch)
tree60c884b99b94732c70871f30522a942ebfdd7750 /synapse/config/server.py
parentChangelog typo (diff)
downloadsynapse-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/config/server.py')
-rw-r--r--synapse/config/server.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/synapse/config/server.py b/synapse/config/server.py
index 1e709c7cf5..005a3ee48c 100644
--- a/synapse/config/server.py
+++ b/synapse/config/server.py
@@ -319,10 +319,6 @@ class ServerConfig(Config):
                 self.presence_router_config,
             ) = load_module(presence_router_config, ("presence", "presence_router"))
 
-        # Whether to update the user directory or not. This should be set to
-        # false only if we are updating the user directory in a worker
-        self.update_user_directory = config.get("update_user_directory", True)
-
         # whether to enable the media repository endpoints. This should be set
         # to false if the media repository is running as a separate endpoint;
         # doing so ensures that we will not run cache cleanup jobs on the