Skip to content

fix: reject throttler queue overflow#877

Open
realfishsam wants to merge 1 commit into
mainfrom
fix/issue-690-throttler
Open

fix: reject throttler queue overflow#877
realfishsam wants to merge 1 commit into
mainfrom
fix/issue-690-throttler

Conversation

@realfishsam
Copy link
Copy Markdown
Contributor

Summary

  • Reject new throttle requests once the queue reaches its maximum depth instead of silently resolving the oldest waiter.

Tests

  • npm test --workspace=pmxt-core -- --runInBand test/utils/throttler.test.ts

Fixes #690

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.

Unbounded: core/src/utils/throttler.ts — queue overflow silently resolves dropped requests, bypassing rate limiting

1 participant