Skip to content
Snippets Groups Projects
Unverified Commit 3d882a7b authored by Richard van der Hoff's avatar Richard van der Hoff Committed by GitHub
Browse files

Remove the cap on federation retry interval. (#6026)

Essentially the intention here is to end up blacklisting servers which never
respond to federation requests.

Fixes https://github.com/matrix-org/synapse/issues/5113.
parent 0388beaf
No related branches found
No related tags found
No related merge requests found
Stop sending federation transactions to servers which have been down for a long time.
......@@ -28,8 +28,8 @@ MIN_RETRY_INTERVAL = 10 * 60 * 1000
# how much we multiply the backoff by after each subsequent fail
RETRY_MULTIPLIER = 5
# a cap on the backoff
MAX_RETRY_INTERVAL = 24 * 60 * 60 * 1000
# a cap on the backoff. (Essentially none)
MAX_RETRY_INTERVAL = 2 ** 63
class NotRetryingDestination(Exception):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment