summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
Diffstat (limited to 'synapse')
-rw-r--r--synapse/util/retryutils.py2
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