Skip to content

Commit 6768995

Browse files
authored
Merge pull request #810 from ctripcorp/revert-807-feature/async-reset-sentinels
Revert "reset sentinels async"
2 parents 19a8aa6 + db8bdbe commit 6768995

File tree

1 file changed

+1
-1
lines changed
  • redis/redis-checker/src/main/java/com/ctrip/xpipe/redis/checker/healthcheck/actions/sentinel/collector/command

1 file changed

+1
-1
lines changed

redis/redis-checker/src/main/java/com/ctrip/xpipe/redis/checker/healthcheck/actions/sentinel/collector/command/ResetSentinels.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public ResetSentinels(SentinelHelloCollectContext context, MetaCache metaCache,
5151

5252
@Override
5353
protected void doExecute() throws Throwable {
54-
resetExecutor.execute(() -> checkSentinels(context.getInfo().getClusterId(), context.getInfo().getShardId(), context.getSentinelMonitorName(), context.getToCheckReset()));
54+
checkSentinels(context.getInfo().getClusterId(), context.getInfo().getShardId(), context.getSentinelMonitorName(), context.getToCheckReset());
5555
future().setSuccess();
5656
}
5757

0 commit comments

Comments
 (0)