mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-10-01 08:25:44 -04: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