瀏覽代碼

Fixes #99, fix miss comparison of FlowRule.maxQueueingTimeMs

master
Carpenter Lee 6 年之前
父節點
當前提交
d716f0f14a
共有 1 個文件被更改,包括 5 次插入0 次删除
  1. +5
    -0
      sentinel-core/src/main/java/com/alibaba/csp/sentinel/slots/block/flow/FlowRule.java

+ 5
- 0
sentinel-core/src/main/java/com/alibaba/csp/sentinel/slots/block/flow/FlowRule.java 查看文件

@@ -276,6 +276,10 @@ public class FlowRule extends AbstractRule {
return false;
}

if (maxQueueingTimeMs != flowRule.maxQueueingTimeMs) {
return false;
}

return true;
}

@@ -291,6 +295,7 @@ public class FlowRule extends AbstractRule {
result = 31 * result + (int)(temp ^ (temp >>> 32));
result = 31 * result + warmUpPeriodSec;
result = 31 * result + controlBehavior;
result = 31 * result + maxQueueingTimeMs;
return result;
}



Loading…
取消
儲存