This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
we should backoff on 40x errors #5442
Labels
T-Enhancement
New features, changes in functionality, improvements in performance, or user-facing enhancements.
z-outbound-federation-meltdown
(Deprecated Label) Synapse melting down by trying to talk to too many servers
z-p2
(Deprecated Label)
Currently we do not increment the per-host backoff counter on 405 (method not allowed) responses. If we get a 405, it suggests a poorly-configured destination, so we should back off.
Indeed, the only 40x codes we do back off for are 401, 429, and (sometimes) 404. If our spec actually properly defined the valid error responses, we could do much better here.
The text was updated successfully, but these errors were encountered: