Add factory method to RateLimiter to allow setting maxBurstSeconds
Opened this issue · 1 comments
gissuebot commented
Original issue created by agkogka...@groupon.com on 2013-11-16 at 07:44 PM
When someone is using the RateLimiter to throttle requests, it may be desirable never to exceed the permitsPerSecond, even if that results in underutilization of resources. To achieve that the maxBurstSeconds must be set to 0.
Currently even though the desired functionality is supported by the class internally, it is not exposed by the RateLimiter's public API
gissuebot commented
Original comment posted by kevinb@google.com on 2013-11-20 at 08:13 PM
(No comment entered for this change.)
Status: Research
Labels: Type-Enhancement
, Package-Concurrent