Browse Source

Update dependencies and add log

Signed-off-by: Eric Zhao <sczyh16@gmail.com>
master
Eric Zhao 6 years ago
parent
commit
23f65b9fee
2 changed files with 4 additions and 3 deletions
  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 View File

@@ -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 View File

@@ -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…
Cancel
Save