diff options
author | Andrew Morgan <andrew@amorgan.xyz> | 2020-02-25 14:27:28 +0000 |
---|---|---|
committer | Andrew Morgan <andrew@amorgan.xyz> | 2020-02-25 14:27:28 +0000 |
commit | 7cb31695ea6bb6dd5740cb0d7a9873e7d94e40b0 (patch) | |
tree | f2accb09f12a1e422350b22d29a780bede2ab3b7 /synapse/util | |
parent | Fix bug in calculating the federation retry backoff period (#6025) (diff) | |
parent | Remove the cap on federation retry interval. (#6026) (diff) | |
download | synapse-7cb31695ea6bb6dd5740cb0d7a9873e7d94e40b0.tar.xz |
Remove the cap on federation retry interval. (#6026)
Diffstat (limited to 'synapse/util')
-rw-r--r-- | synapse/util/retryutils.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/util/retryutils.py b/synapse/util/retryutils.py index 33263fe20f..b740913b58 100644 --- a/synapse/util/retryutils.py +++ b/synapse/util/retryutils.py @@ -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): |