Make breaker trip when greater than or equal to HOT_COUNT.

This commit is contained in:
John-David Dalton
2014-08-24 21:29:17 -07:00
parent 68bd881ca8
commit 8b873b6b1b

View File

@@ -3051,7 +3051,7 @@
lastCalled = stamp;
if (remaining > 0) {
if (++count > HOT_COUNT) {
if (++count >= HOT_COUNT) {
return key;
}
} else {