Open zhixinwen opened 10 months ago
This resolves https://github.com/antifuchs/governor/issues/152.
They should work with existing APIs. check_only methods are for checking part. consume methods are for "billing" part.
check_only
consume
I only implemented the directed rate limiter. If this idea is fine with @antifuchs I can follow up with keyed rate limiter.
@antifuchs Do you have any thoughts on this? Currently this is no method measure remaining capacity separately.
@antifuchs gentle ping on this
This resolves https://github.com/antifuchs/governor/issues/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.