summary refs log tree commit diff
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-11-20 17:17:58 +0000
committerErik Johnston <erik@matrix.org>2015-11-20 17:17:58 +0000
commit0eabfa55f6739871ebf609a4f2aa128e72ae4bf0 (patch)
tree2aa4adeaf29a7e728add263543c2548b9fb61a8b
parentDon't limit connections to perspective servers (diff)
downloadsynapse-0eabfa55f6739871ebf609a4f2aa128e72ae4bf0.tar.xz
Fix typo
-rw-r--r--synapse/crypto/keyring.py2
-rw-r--r--synapse/http/matrixfederationclient.py4
2 files changed, 3 insertions, 3 deletions
diff --git a/synapse/crypto/keyring.py b/synapse/crypto/keyring.py
index ee7a5e3106..bc5bb5cdb1 100644
--- a/synapse/crypto/keyring.py
+++ b/synapse/crypto/keyring.py
@@ -397,7 +397,7 @@ class Keyring(object):
                     for server_name, key_ids in server_names_and_key_ids
                 }
             },
-            long_requests=True,
+            long_retries=True,
         )
 
         keys = {}
diff --git a/synapse/http/matrixfederationclient.py b/synapse/http/matrixfederationclient.py
index 042793e13d..b7b7c2cce8 100644
--- a/synapse/http/matrixfederationclient.py
+++ b/synapse/http/matrixfederationclient.py
@@ -302,7 +302,7 @@ class MatrixFederationHttpClient(object):
         defer.returnValue(json.loads(body))
 
     @defer.inlineCallbacks
-    def post_json(self, destination, path, data={}, long_requests=True):
+    def post_json(self, destination, path, data={}, long_retries=True):
         """ Sends the specifed json data using POST
 
         Args:
@@ -332,7 +332,7 @@ class MatrixFederationHttpClient(object):
             path.encode("ascii"),
             body_callback=body_callback,
             headers_dict={"Content-Type": ["application/json"]},
-            long_requests=True,
+            long_retries=True,
         )
 
         if 200 <= response.code < 300: