Skip to content

Commit

Permalink
feat: optimize printCurrentState method logic
Browse files Browse the repository at this point in the history
  • Loading branch information
emptyOVO committed Sep 20, 2024
1 parent 0d3d4c6 commit 79e24c5
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -294,9 +294,10 @@ protected void printCurrentState() {
LOGGER.info("redis subscribe synchronization is {} on source {}",
redisReplicator != null && !executor.isShutdown() ? "running" : "stop",
hostName + ":" + port);
} else {
LOGGER.info("redis command synchronization is {} on source {}", !executor.isShutdown() ? "running" : "stop",
hostName + ":" + port);
}
LOGGER.info("redis command synchronization is {} on source {}", !executor.isShutdown() ? "running" : "stop",
hostName + ":" + port);
}

@Override
Expand Down

0 comments on commit 79e24c5

Please sign in to comment.