瀏覽代碼

Update dependencies and add log

Signed-off-by: Eric Zhao <sczyh16@gmail.com>
master
Eric Zhao 6 年之前
父節點
當前提交
23f65b9fee
共有 2 個檔案被更改,包括 4 行新增3 行删除
  1. +3
    -3
      pom.xml
  2. +1
    -0
      sentinel-core/src/main/java/com/alibaba/csp/sentinel/slots/block/flow/FlowRuleManager.java

+ 3
- 3
pom.xml 查看文件

@@ -41,18 +41,18 @@

<properties>
<!-- Compile libs -->
<fastjson.version>1.2.47</fastjson.version>
<fastjson.version>1.2.49</fastjson.version>

<!-- Test libs -->
<junit.version>4.12</junit.version>
<mockito.version>2.18.0</mockito.version>
<mockito.version>2.21.0</mockito.version>

<!-- Build -->
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<java.source.version>1.6</java.source.version>
<java.target.version>1.6</java.target.version>
<java.encoding>UTF-8</java.encoding>
<maven.compiler.version>3.7.0</maven.compiler.version>
<maven.compiler.version>3.8.0</maven.compiler.version>
<maven.source.version>3.0.1</maven.source.version>
<maven.javadoc.version>3.0.1</maven.javadoc.version>
<maven.gpg.version>1.6</maven.gpg.version>


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

@@ -73,6 +73,7 @@ public class FlowRuleManager {
*/
public static void register2Property(SentinelProperty<List<FlowRule>> property) {
synchronized (listener) {
RecordLog.info("[FlowRuleManager] Registering new property to flow rule manager");
currentProperty.removeListener(listener);
property.addListener(listener);
currentProperty = property;


Loading…
取消
儲存