summary refs log tree commit diff
path: root/synapse/http/matrixfederationclient.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2016-12-29 00:09:33 +0000
committerErik Johnston <erik@matrix.org>2016-12-29 00:09:33 +0000
commitb7336ff32d4f9883c06c538901f6566b7ccb1ebe (patch)
tree0361101a518578159e53864af7822fdc85e7c2ca /synapse/http/matrixfederationclient.py
parentWrap connections in an N minute timeout to ensure they get reaped correctly (diff)
downloadsynapse-b7336ff32d4f9883c06c538901f6566b7ccb1ebe.tar.xz
Clean up
Diffstat (limited to 'synapse/http/matrixfederationclient.py')
-rw-r--r--synapse/http/matrixfederationclient.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/synapse/http/matrixfederationclient.py b/synapse/http/matrixfederationclient.py
index da98d2d666..4d40219fcc 100644
--- a/synapse/http/matrixfederationclient.py
+++ b/synapse/http/matrixfederationclient.py
@@ -61,11 +61,6 @@ MAX_LONG_RETRIES = 10
 MAX_SHORT_RETRIES = 3
 
 
-def test(conn):
-    conn.loseConnection()
-    return conn
-
-
 class MatrixFederationEndpointFactory(object):
     def __init__(self, hs):
         self.tls_server_context_factory = hs.tls_server_context_factory