Skip to content

Conversation

@zhixinwen
Copy link

@zhixinwen zhixinwen commented Oct 25, 2023

This resolves #152.

They should work with existing APIs.
check_only methods are for checking part.
consume methods are for "billing" part.

I only implemented the directed rate limiter. If this idea is fine with @antifuchs I can follow up with keyed rate limiter.

@TheWaWaR
Copy link

@antifuchs
Do you have any thoughts on this? Currently this is no method measure remaining capacity separately.

@zhixinwen
Copy link
Author

@antifuchs gentle ping on this

@power-law
Copy link

@antifuchs What can I do to help get this across the finish line? Some sort of "peeking" functionality would be critical for my use case.

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.

plans to separate check with token operation?

3 participants