Skip to content

Commit

Permalink
Revert "optimized sentinel reset (#801)"
Browse files Browse the repository at this point in the history
This reverts commit 532d66c.
  • Loading branch information
lilongjiao authored May 29, 2024
1 parent e21cb6e commit 9f76068
Show file tree
Hide file tree
Showing 5 changed files with 185 additions and 776 deletions.
10 changes: 1 addition & 9 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
<okhttp3.version>3.12.0</okhttp3.version>
<influxdb.version>2.7</influxdb.version>
<hickwall.client.version>1.10-SNAPSHOT</hickwall.client.version>
<clogging.version>4.9.0</clogging.version>
<clogging.version>4.6.3</clogging.version>
<credis.version>4.4.1-unstable-SNAPSHOT</credis.version>
<qconfig.sso.version>1.0.7-SNAPSHOT</qconfig.sso.version>
<qunaer.common.version>9.2.37</qunaer.common.version>
Expand Down Expand Up @@ -286,14 +286,6 @@
<groupId>com.ctrip.framework</groupId>
<artifactId>vi</artifactId>
</exclusion>
<exclusion>
<groupId>org.codehaus.jackson</groupId>
<artifactId>jackson-mapper-asl</artifactId>
</exclusion>
<exclusion>
<groupId>org.codehaus.jackson</groupId>
<artifactId>jackson-core-asl</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ public void go() throws Exception {
chain.add(new AnalyseHellos(context, checkerConfig));
chain.add(new AcquireLeakyBucket(context, leakyBucket));
chain.add(new DeleteSentinels(context, sentinelManager));
chain.add(new ResetSentinels(context, metaCache, keyedObjectPool, scheduled, resetExecutor, sentinelManager, checkerConfig));
chain.add(new ResetSentinels(context, metaCache, keyedObjectPool, scheduled, resetExecutor, sentinelManager));
chain.add(new AddSentinels(context, sentinelManager, checkerConfig));
chain.add(new SetSentinels(context, sentinelManager));
chain.execute().addListener(commandFuture -> {
Expand Down
Loading

0 comments on commit 9f76068

Please sign in to comment.