diff options
author | Erik Johnston <erik@matrix.org> | 2022-04-20 15:51:23 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2022-04-21 11:49:51 +0100 |
commit | 9823af07448db915e66de39c8922f1db836fcb63 (patch) | |
tree | e7a949b2feb96a9470ba7680cd59e137fe6589a1 | |
parent | Newsfile (diff) | |
download | synapse-9823af07448db915e66de39c8922f1db836fcb63.tar.xz |
Reduce retry interval
-rw-r--r-- | synapse/util/retryutils.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/synapse/util/retryutils.py b/synapse/util/retryutils.py index d81f2527d7..352e110859 100644 --- a/synapse/util/retryutils.py +++ b/synapse/util/retryutils.py @@ -24,13 +24,13 @@ from synapse.util import Clock logger = logging.getLogger(__name__) # the initial backoff, after the first transaction fails -MIN_RETRY_INTERVAL = 10 * 60 * 1000 +MIN_RETRY_INTERVAL = 30 * 1000 # how much we multiply the backoff by after each subsequent fail RETRY_MULTIPLIER = 5 -# a cap on the backoff. (Essentially none) -MAX_RETRY_INTERVAL = 2**62 +# a cap on the backoff. +MAX_RETRY_INTERVAL = 30 * 1000 class NotRetryingDestination(Exception): |