fix case fallthrough bug reducing extraneous threads

This commit is contained in:
Jonathan Shook 2022-09-09 11:08:22 -05:00
parent 042f1f8d23
commit ba4c98f5b6

View File

@ -172,6 +172,7 @@ public class HybridRateLimiter implements Startable, RateLimiter {
// logger.warn("Tried to start a rate limiter that was already started. If this is desired, use restart() instead");
// TODO: Find a better way to warn about spurious rate limiter
// starts, since the check condition was not properly isolated
break;
case Idle:
long nanos = getNanoClockTime();
this.starttime = nanos;