better statusq failure recording

This commit is contained in:
John Smith
2023-06-09 22:42:03 -04:00
parent 532bcf2e2a
commit 88466db03f
2 changed files with 30 additions and 3 deletions

View File

@@ -603,7 +603,7 @@ impl BucketEntryInner {
}
}
pub(super) fn check_dead(&self, cur_ts: Timestamp) -> bool {
// If we have failured to send NEVER_REACHED_PING_COUNT times in a row, the node is dead
// If we have failed to send NEVER_REACHED_PING_COUNT times in a row, the node is dead
if self.peer_stats.rpc_stats.failed_to_send >= NEVER_REACHED_PING_COUNT {
return true;
}