-
Notifications
You must be signed in to change notification settings - Fork 363
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Rate limiter will sometimes tank request rate with many concurre…
…nt requests (#1855) * Do not allow old requests from decreasing the rate limit * Reset the rate limit cap after inactivity * Ruff 🐶 * Always leave room for requeues * Pass in max_queue_size * Ruff 🐶 * Xfail test due to dependency update * Double the headroom available to workers for re-queuing * The rate limiter should always consume a token per request * Remove xfail * Modify rate limiting behavior at low request rates * Explicitly enforce minimum rate
- Loading branch information
1 parent
d6e88f5
commit 2530569
Showing
3 changed files
with
51 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters