diff options
author | Erik Johnston <erik@matrix.org> | 2015-11-17 18:29:29 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2015-11-17 18:29:29 +0000 |
commit | cbf3cd61515d101d57124388d629162f4983783a (patch) | |
tree | 3f1aa7efde60407461e1dcaf76ebcc8015a755c6 | |
parent | Only retry federation requests for a long time for background requests (diff) | |
download | synapse-cbf3cd61515d101d57124388d629162f4983783a.tar.xz |
Add comment
-rw-r--r-- | synapse/http/matrixfederationclient.py | 2 |
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 |