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)

Reply via email to