summary refs log tree commit diff
path: root/synapse/config
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2016-11-16 17:34:44 +0000
committerErik Johnston <erik@matrix.org>2016-11-16 17:34:44 +0000
commited787cf09edd77e39ad9da0b957359214de85287 (patch)
treebefff8fe0284099e1e2df9eccd729ff1eedd4727 /synapse/config
parentAdd initial cut of federation send queue (diff)
downloadsynapse-ed787cf09edd77e39ad9da0b957359214de85287.tar.xz
Hook up the send queue and create a federation sender worker
Diffstat (limited to 'synapse/config')
-rw-r--r--synapse/config/server.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/synapse/config/server.py b/synapse/config/server.py
index ed5417d0c3..634d8e6fe5 100644
--- a/synapse/config/server.py
+++ b/synapse/config/server.py
@@ -30,6 +30,11 @@ class ServerConfig(Config):
         self.use_frozen_dicts = config.get("use_frozen_dicts", False)
         self.public_baseurl = config.get("public_baseurl")
 
+        # Whether to send federation traffic out in this process. This only
+        # applies to some federation traffic, and so shouldn't be used to
+        # "disable" federation
+        self.send_federation = config.get("send_federation", True)
+
         if self.public_baseurl is not None:
             if self.public_baseurl[-1] != '/':
                 self.public_baseurl += '/'