You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Rate limits from later headers shorten longer active limits #26409
updateRateLimits in @sentry/core stores the last rate limit it sees for each category. A shorter limit therefore replaces a longer one that is still active, and the SDK starts sending that category before the longer quota expires.
ratelimit.ts#L82-L104 assigns now + delay without comparing it to the stored value. With 3600:error:organization, 0:error:project, errors are not limited.
The same overwrite happens across responses, and for all from Retry-After and from a 429 with no headers.
SDKs that use the @sentry/core transports inherit this, for example getsentry/sentry-electron.
The spec says: "If a new rate limit is shorter than an already stored rate limit, then keep the longer one."
Activity
linear-code commentedon Nov 16, 2026
JS-4106