summary refs log tree commit diff
path: root/synapse/app/pusher.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2017-01-10 16:30:53 +0000
committerErik Johnston <erik@matrix.org>2017-01-10 16:30:53 +0000
commit8a0fddfd73784b0e06c8d61337279c45c96e8687 (patch)
tree4fc07e6d0c49904923aae925146d9fa5d0207808 /synapse/app/pusher.py
parentMerge pull request #1792 from matrix-org/erikj/limit_cache_prefill_device (diff)
downloadsynapse-8a0fddfd73784b0e06c8d61337279c45c96e8687.tar.xz
Remove spurious for..else..
Diffstat (limited to '')
-rw-r--r--synapse/app/pusher.py11
1 files changed, 0 insertions, 11 deletions
diff --git a/synapse/app/pusher.py b/synapse/app/pusher.py
index a3df375c81..57e097fa11 100644
--- a/synapse/app/pusher.py
+++ b/synapse/app/pusher.py
@@ -146,17 +146,6 @@ class PusherServer(HomeServer):
                 ),
                 interface=address
             )
-        else:
-            reactor.listenTCP(
-                port,
-                SynapseSite(
-                    "synapse.access.http.%s" % (site_tag,),
-                    site_tag,
-                    listener_config,
-                    root_resource,
-                ),
-                interface=bind_address
-            )
 
         logger.info("Synapse pusher now listening on port %d", port)