mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2025-02-25 18:55:28 -06:00
fix case fallthrough bug reducing extraneous threads
This commit is contained in:
parent
042f1f8d23
commit
ba4c98f5b6
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user