Skip to content

Commit

Permalink
Remove log
Browse files Browse the repository at this point in the history
  • Loading branch information
ruanwenjun committed May 6, 2024
1 parent 4119a6b commit 1666693
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ public void start() {
if (Event.Type.REMOVE.equals(event.type())) {
if (isActive() && !participateElection()) {
statusChange(ServerStatus.STAND_BY);
log.info("The current server has been removed from the registry, change the status to STAND_BY.");
}
}
});
Expand All @@ -65,7 +64,6 @@ public void start() {
}
if (participateElection()) {
statusChange(ServerStatus.ACTIVE);
log.info("The current server has been elected as the active server, change the status to ACTIVE.");
}
}, 10, TimeUnit.SECONDS);
}
Expand Down

0 comments on commit 1666693

Please sign in to comment.