diff options
author | Erik Johnston <erikj@jki.re> | 2017-07-07 18:25:46 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-07 18:25:46 +0100 |
commit | c9184ed87e436d32dc12e32fe9b51ff20fbcda03 (patch) | |
tree | ad6b03d113cb2623e690ab4a912454c1bf3108bf /synapse/config/workers.py | |
parent | Merge pull request #2343 from matrix-org/erikj/fastpush (diff) | |
parent | Add a frontend proxy (diff) | |
download | synapse-c9184ed87e436d32dc12e32fe9b51ff20fbcda03.tar.xz |
Merge pull request #2344 from matrix-org/erikj/frontend_proxy
Add a frontend proxy
Diffstat (limited to 'synapse/config/workers.py')
-rw-r--r-- | synapse/config/workers.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/synapse/config/workers.py b/synapse/config/workers.py index ea48d931a1..99d5d8aaeb 100644 --- a/synapse/config/workers.py +++ b/synapse/config/workers.py @@ -32,6 +32,8 @@ class WorkerConfig(Config): self.worker_replication_port = config.get("worker_replication_port", None) self.worker_name = config.get("worker_name", self.worker_app) + self.worker_main_http_uri = config.get("worker_main_http_uri", None) + if self.worker_listeners: for listener in self.worker_listeners: bind_address = listener.pop("bind_address", None) |