diff options
author | Erik Johnston <erik@matrix.org> | 2016-11-16 17:34:44 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2016-11-16 17:34:44 +0000 |
commit | ed787cf09edd77e39ad9da0b957359214de85287 (patch) | |
tree | befff8fe0284099e1e2df9eccd729ff1eedd4727 /synapse/config/server.py | |
parent | Add initial cut of federation send queue (diff) | |
download | synapse-ed787cf09edd77e39ad9da0b957359214de85287.tar.xz |
Hook up the send queue and create a federation sender worker
Diffstat (limited to 'synapse/config/server.py')
-rw-r--r-- | synapse/config/server.py | 5 |
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 += '/' |