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

Rate Limiting. #255

Closed
wants to merge 2 commits into from
Closed

Rate Limiting. #255

wants to merge 2 commits into from

Conversation

rkoshak
Copy link

@rkoshak rkoshak commented Sep 16, 2019

This is an implementation of non-blocking rate limiting implementation. When you call "run" it will ignore any calls to it that take place before the latch time expires.

I chose a Class in this case because a user may need more than one limiter going at any given time.

NOTE: I had to rename everything as I'm clearly tired.

Signed-off-by: Rich Koshak rlkoshak@gmail.com

Rich Koshak added 2 commits September 16, 2019 14:30
@rkoshak rkoshak changed the title Rule Latching implementation Rate Limiting. Sep 16, 2019
@rkoshak
Copy link
Author

rkoshak commented Nov 14, 2019

This PR is ready for review

@rkoshak
Copy link
Author

rkoshak commented Jul 17, 2020

I've basically completely rewritten this so am closing this PR. When reviewing submissions to the helper library becomes a priority I'll resubmit. In the mean time I'll keep in in my own repo where I can continue development.

@rkoshak rkoshak closed this Jul 17, 2020
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.

1 participant