summary refs log tree commit diff
diff options
context:
space:
mode:
authorDavid Baker <dave@matrix.org>2015-04-30 12:04:08 +0100
committerDavid Baker <dave@matrix.org>2015-04-30 12:04:08 +0100
commit4b46fbec5beda46276219ba8142a12a42a1dc2c1 (patch)
tree1764ad2bf25572261edd646e00b73c012f91447a
parentMake simple query rather than long one and then throw away half the results (diff)
downloadsynapse-4b46fbec5beda46276219ba8142a12a42a1dc2c1.tar.xz
Doesn't look like this is used anymore
-rw-r--r--synapse/http/server.py13
1 files changed, 0 insertions, 13 deletions
diff --git a/synapse/http/server.py b/synapse/http/server.py
index 05636e683b..5ea955e4ff 100644
--- a/synapse/http/server.py
+++ b/synapse/http/server.py
@@ -179,19 +179,6 @@ class JsonResource(HttpServer, resource.Resource):
             self._PathEntry(path_pattern, callback)
         )
 
-    def start_listening(self, port):
-        """ Registers the http server with the twisted reactor.
-
-        Args:
-            port (int): The port to listen on.
-
-        """
-        reactor.listenTCP(
-            port,
-            server.Site(self),
-            interface=self.hs.config.bind_host
-        )
-
     def render(self, request):
         """ This gets called by twisted every time someone sends us a request.
         """