summary refs log tree commit diff
path: root/synapse/config
diff options
context:
space:
mode:
authorErik Johnston <erikj@jki.re>2017-06-16 13:01:19 +0100
committerGitHub <noreply@github.com>2017-06-16 13:01:19 +0100
commitdfeca6cf40cdc151b75aa9ec1a3258faf50f7f82 (patch)
treea99404e75b53026d7b35dcc214c749b604763db4 /synapse/config
parentMerge pull request #2280 from matrix-org/erikj/share_room_user_dir (diff)
parentInitial worker impl (diff)
downloadsynapse-dfeca6cf40cdc151b75aa9ec1a3258faf50f7f82.tar.xz
Merge pull request #2286 from matrix-org/erikj/split_out_user_dir
Split out user directory to a separate process
Diffstat (limited to 'synapse/config')
-rw-r--r--synapse/config/server.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/synapse/config/server.py b/synapse/config/server.py
index 3910b9dc31..28b4e5f50c 100644
--- a/synapse/config/server.py
+++ b/synapse/config/server.py
@@ -35,6 +35,10 @@ class ServerConfig(Config):
         # "disable" federation
         self.send_federation = config.get("send_federation", True)
 
+        # 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)
+
         self.filter_timeline_limit = config.get("filter_timeline_limit", -1)
 
         if self.public_baseurl is not None: