Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/add tests to rate limiting code and resolve any bugs #816

Conversation

FinnReilly
Copy link

Thank you to all who brought this to my attention on #815 and #812.

This contains fix for an issue in which rate limiting caused an infinite wait when the burst was reached, and introduces a unit test project

* time comparison was incorrect
* makes private method names less confusing
* should intialise multiple threads simultaneously
@CplNathan
Copy link

Thank you for this fix. I observed the same issue mentioned in issue #815 - deadlock in WaitForPermittedRequest
image

I have cherry picked this change in my project and can confirm that it appears to have resolved this issue without averse changes. Thank you again for the continued maintenance of this project, it is extremely useful!

@abuzuhri abuzuhri merged commit b2eabc4 into abuzuhri:main Jan 19, 2025
1 check passed
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.

4 participants