diff options
author | Erik Johnston <erik@matrix.org> | 2017-01-31 13:53:46 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2017-01-31 13:53:46 +0000 |
commit | 4c0ec15bdcb8fbecf5e4f6cdd3017c9c53076972 (patch) | |
tree | fc19c5a5b97ce1b7e68b6bc9001824599c68d548 | |
parent | Comment (diff) | |
download | synapse-4c0ec15bdcb8fbecf5e4f6cdd3017c9c53076972.tar.xz |
Comment
Diffstat (limited to '')
-rw-r--r-- | synapse/util/retryutils.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/synapse/util/retryutils.py b/synapse/util/retryutils.py index 0961dd5b25..5c7fc1afb4 100644 --- a/synapse/util/retryutils.py +++ b/synapse/util/retryutils.py @@ -134,6 +134,8 @@ class RetryDestinationLimiter(object): elif exc_val.code == 404 and self.backoff_on_404: valid_err_code = False elif exc_val.code == 429: + # 429 is us being aggresively rate limited, so lets rate limit + # ourselves. valid_err_code = False elif exc_val.code < 500: valid_err_code = True |