Skip to content

Commit

Permalink
tiny improve
Browse files Browse the repository at this point in the history
Change-Id: Ic3059eb89d5c45ce77a386456b547385be4feeda
  • Loading branch information
Linary committed Apr 2, 2021
1 parent 35cd7de commit 74f5209
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -285,9 +285,9 @@ public void onError(PeerId peer, Status status) {
}
}

@Override
// NOTE: Jraft itself doesn't have this callback, it's added by us
// @Override
public void onBusy(PeerId peer, Status status) {
// NOTE: Jraft itself doesn't have this callback, it's added by us
int count = RaftNode.this.busyCounter.incrementAndGet();
LOG.info("Increase busy counter: [{}]", count);
}
Expand Down

0 comments on commit 74f5209

Please sign in to comment.