forked from MirrorHub/synapse
turn back on per-request transaction retries, so that every time we try to hit a dead server we actually end up hammering 5 times :|
This commit is contained in:
parent
08aceea82e
commit
0f4dcab238
1 changed files with 3 additions and 4 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue