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
Shorter rate limit from a later response replaces longer one #5945
ExtractRateLimits keeps the longest limit within one header, because it sorts by RetryAfter. Across responses, it overwrites the stored reset time (HttpTransportBase.cs#L282-L295). A later response with a shorter limit for a category that is already limited ends the longer limit early, and the SDK starts sending that category before the quota expires.
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
NET-931
fix: keep the longer rate limit when a later response sends a shorter…