summary refs log tree commit diff
path: root/synapse/http/matrixfederationclient.py
diff options
context:
space:
mode:
Diffstat (limited to 'synapse/http/matrixfederationclient.py')
-rw-r--r--synapse/http/matrixfederationclient.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/synapse/http/matrixfederationclient.py b/synapse/http/matrixfederationclient.py
index 16fb2adab5..fc5b5ab809 100644
--- a/synapse/http/matrixfederationclient.py
+++ b/synapse/http/matrixfederationclient.py
@@ -101,10 +101,9 @@ class MatrixFederationHttpClient(object):
             ]
         )
 
-        # was 5; for now, let's only try once at the HTTP layer and then
-        # rely on transaction-layer retries for exponential backoff and
-        # getting the message through.
-        retries_left = 0
+        # XXX: Would be much nicer to retry only at the transaction-layer
+        # (once we have reliable transactions in place)
+        retries_left = 5
 
         endpoint = self._getEndpoint(reactor, destination)