summary refs log tree commit diff
path: root/synapse/http
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-11-17 18:29:29 +0000
committerErik Johnston <erik@matrix.org>2015-11-17 18:29:29 +0000
commitcbf3cd61515d101d57124388d629162f4983783a (patch)
tree3f1aa7efde60407461e1dcaf76ebcc8015a755c6 /synapse/http
parentOnly retry federation requests for a long time for background requests (diff)
downloadsynapse-cbf3cd61515d101d57124388d629162f4983783a.tar.xz
Add comment
Diffstat (limited to '')
-rw-r--r--synapse/http/matrixfederationclient.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/synapse/http/matrixfederationclient.py b/synapse/http/matrixfederationclient.py
index e09a0bbe18..614c06a6d7 100644
--- a/synapse/http/matrixfederationclient.py
+++ b/synapse/http/matrixfederationclient.py
@@ -259,6 +259,8 @@ class MatrixFederationHttpClient(object):
                 the request body. This will be encoded as JSON.
             json_data_callback (callable): A callable returning the dict to
                 use as the request body.
+            long_retries (bool): A boolean that indicates whether we should
+                retry for a short or long time.
 
         Returns:
             Deferred: Succeeds when we get a 2xx HTTP response. The result