summary refs log tree commit diff
path: root/synapse/config/workers.py
diff options
context:
space:
mode:
authorMark Haines <mark.haines@matrix.org>2016-06-16 12:44:40 +0100
committerMark Haines <mark.haines@matrix.org>2016-06-16 12:44:40 +0100
commitbde13833cb42fc6e09928ffb4f4efad9244abffa (patch)
treed5e2194c45f07c7ab99affa1351fdcec61bd9622 /synapse/config/workers.py
parentComment on what's going on in clobber_with_worker_config (diff)
downloadsynapse-bde13833cb42fc6e09928ffb4f4efad9244abffa.tar.xz
Access replication_url from the worker config directly
Diffstat (limited to '')
-rw-r--r--synapse/config/workers.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/synapse/config/workers.py b/synapse/config/workers.py
index 4f4658c0a8..f2c77ef59a 100644
--- a/synapse/config/workers.py
+++ b/synapse/config/workers.py
@@ -46,10 +46,6 @@ def clobber_with_worker_config(config, worker_config):
     # worker config directly.
     config.event_cache_size = worker_config.event_cache_size
 
-    # TODO: The replication_url should only be accessed within worker specific
-    # code so it really shouldn't need to be clobbered in the main config.
-    config.replication_url = worker_config.replication_url
-
 
 def read_worker_config(config):
     return Worker(