You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@servicecomb.apache.org by "hujinming178 (Jira)" <ji...@apache.org> on 2022/08/11 08:58:00 UTC
[jira] [Created] (SCB-2666) The bucket value logic is incorrect
hujinming178 created SCB-2666:
---------------------------------
Summary: The bucket value logic is incorrect
Key: SCB-2666
URL: https://issues.apache.org/jira/browse/SCB-2666
Project: Apache ServiceComb
Issue Type: Bug
Reporter: hujinming178
[servicecomb-java-chassis/handlers/handler-flowcontrol-qps/src/main/java/org/apache/servicecomb/qps/strategy/LeakyBucketStrategy.java|https://github.com/apache/servicecomb-java-chassis/blob/c5a929e16dea239024da00715b9510cec5112282/handlers/handler-flowcontrol-qps/src/main/java/org/apache/servicecomb/qps/strategy/LeakyBucketStrategy.java#L45]
Line 45 inĀ [c5a929e|https://github.com/apache/servicecomb-java-chassis/commit/c5a929e16dea239024da00715b9510cec5112282]
||this.setBucketLimit(Math.max(2 * this.getQpsLimit(), Integer.MAX_VALUE));|
--
This message was sent by Atlassian Jira
(v8.20.10#820010)