damumu0625 commented on code in PR #2264: URL: https://github.com/apache/zookeeper/pull/2264#discussion_r2115605506
########## zookeeper-server/src/main/java/org/apache/zookeeper/server/BlueThrottle.java: ########## @@ -323,6 +323,7 @@ public synchronized boolean checkLimit(int need) { long now = Time.currentElapsedTime(); long diff = now - lastTime; + diff = Math.min((long) maxTokens * fillTime / fillCount, diff); Review Comment: fillCount is 3 and fillTime is 1,this case is triggered when there is no request for more than 8 days. @kezhuw Please review it again, thank you. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@zookeeper.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org