summary refs log tree commit diff
path: root/synapse/config/workers.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2017-03-27 16:33:44 +0100
committerErik Johnston <erik@matrix.org>2017-04-03 15:35:52 +0100
commit36c28bc467e53cf7318964a4dc986428644f27ed (patch)
treec2b46831a4298f68ae7489ababeb22767b56c26b /synapse/config/workers.py
parentChange slave storage to use new replication interface (diff)
downloadsynapse-36c28bc467e53cf7318964a4dc986428644f27ed.tar.xz
Update all the workers and master to use TCP replication
Diffstat (limited to 'synapse/config/workers.py')
-rw-r--r--synapse/config/workers.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/synapse/config/workers.py b/synapse/config/workers.py
index b165c67ee7..ad06ba9691 100644
--- a/synapse/config/workers.py
+++ b/synapse/config/workers.py
@@ -29,6 +29,9 @@ class WorkerConfig(Config):
         self.worker_log_file = config.get("worker_log_file")
         self.worker_log_config = config.get("worker_log_config")
         self.worker_replication_url = config.get("worker_replication_url")
+        self.worker_replication_host = config.get("worker_replication_host", None)
+        self.worker_replication_port = config.get("worker_replication_port", None)
+        self.worker_name = config.get("worker_name", self.worker_app)
 
         if self.worker_listeners:
             for listener in self.worker_listeners: