Skip to content

feat: improve proactive rate-limit throttling and add pre-flight deadline check#648

Merged
redhatrises merged 1 commit into
CrowdStrike:mainfrom
redhatrises:proactive_retry
May 18, 2026
Merged

feat: improve proactive rate-limit throttling and add pre-flight deadline check#648
redhatrises merged 1 commit into
CrowdStrike:mainfrom
redhatrises:proactive_retry

Conversation

@redhatrises

Copy link
Copy Markdown
Contributor

Replace the crude LastRateLimitDigits heuristic with proper X-Ratelimit-Remaining integer tracking and two-tier progressive delays (200ms/500ms). The proactive wait is now context-cancellation-aware. Additionally, waitForCooldown now fails fast when the cooldown duration would exceed the context deadline.

…line check

Replace the crude LastRateLimitDigits heuristic with proper X-Ratelimit-Remaining
integer tracking and two-tier progressive delays (200ms/500ms). The proactive wait
is now context-cancellation-aware. Additionally, waitForCooldown now fails fast when
the cooldown duration would exceed the context deadline.
@redhatrises redhatrises merged commit 0cd23ba into CrowdStrike:main May 18, 2026
8 checks passed
@redhatrises redhatrises deleted the proactive_retry branch May 18, 2026 21:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants