summary refs log tree commit diff
path: root/synapse/util/retryutils.py
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2020-07-24 09:57:49 +0100
committerRichard van der Hoff <richard@matrix.org>2020-07-24 09:57:49 +0100
commitbe777e325dedab1ee84e5bbd96f7571b8490a8ec (patch)
tree16fd1b1a1b15bba5f5e78037ddada7525ae8b653 /synapse/util/retryutils.py
parentMerge branch 'develop' into matrix-org-hotfixes (diff)
parentDowngrade warning on client disconnect to INFO (#7928) (diff)
downloadsynapse-be777e325dedab1ee84e5bbd96f7571b8490a8ec.tar.xz
Merge branch 'develop' into matrix-org-hotfixes
Diffstat (limited to 'synapse/util/retryutils.py')
-rw-r--r--synapse/util/retryutils.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/util/retryutils.py b/synapse/util/retryutils.py

index af69587196..8794317caa 100644 --- a/synapse/util/retryutils.py +++ b/synapse/util/retryutils.py
@@ -22,7 +22,7 @@ from synapse.api.errors import CodeMessageException logger = logging.getLogger(__name__) -# the intial backoff, after the first transaction fails +# the initial backoff, after the first transaction fails MIN_RETRY_INTERVAL = 10 * 60 * 1000 # how much we multiply the backoff by after each subsequent fail @@ -174,7 +174,7 @@ class RetryDestinationLimiter(object): # has been decommissioned. # If we get a 401, then we should probably back off since they # won't accept our requests for at least a while. - # 429 is us being aggresively rate limited, so lets rate limit + # 429 is us being aggressively rate limited, so lets rate limit # ourselves. if exc_val.code == 404 and self.backoff_on_404: valid_err_code = False