summary refs log tree commit diff
path: root/synapse/app/homeserver.py
diff options
context:
space:
mode:
authorSilke <silke@slxh.eu>2017-12-17 14:15:30 +0100
committerSilke <silke@slxh.eu>2017-12-18 20:00:42 +0100
commitdf0f60279636b978aae456bbd639a5f3b2adf3ba (patch)
treec1c1097431e4398de9a02107f9a98075efd230df /synapse/app/homeserver.py
parentRemove logger argument and do not catch replication listener (diff)
downloadsynapse-df0f60279636b978aae456bbd639a5f3b2adf3ba.tar.xz
Implement listen_tcp method in remaining workers
Signed-off-by: Silke <silke@slxh.eu>
Diffstat (limited to 'synapse/app/homeserver.py')
-rwxr-xr-xsynapse/app/homeserver.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/synapse/app/homeserver.py b/synapse/app/homeserver.py
index 4ea2b39f20..92ab3b311b 100755
--- a/synapse/app/homeserver.py
+++ b/synapse/app/homeserver.py
@@ -228,10 +228,8 @@ class SynapseHomeServer(HomeServer):
             if listener["type"] == "http":
                 self._listener_http(config, listener)
             elif listener["type"] == "manhole":
-                bind_addresses = listener["bind_addresses"]
-
                 listen_tcp(
-                    bind_addresses,
+                    listener["bind_addresses"],
                     listener["port"],
                     manhole(
                         username="matrix",