mirror of
https://mau.dev/maunium/synapse.git
synced 2024-08-26 20:22:22 +00:00
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
@ -101,10 +101,9 @@ class MatrixFederationHttpClient(object):
|
|||||||
]
|
]
|
||||||
)
|
)
|
||||||
|
|
||||||
# was 5; for now, let's only try once at the HTTP layer and then
|
# XXX: Would be much nicer to retry only at the transaction-layer
|
||||||
# rely on transaction-layer retries for exponential backoff and
|
# (once we have reliable transactions in place)
|
||||||
# getting the message through.
|
retries_left = 5
|
||||||
retries_left = 0
|
|
||||||
|
|
||||||
endpoint = self._getEndpoint(reactor, destination)
|
endpoint = self._getEndpoint(reactor, destination)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user