summaryrefslogtreecommitdiffstats
path: root/src/api/peers.rs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-10-28 03:13:35 +0100
committertv <tv@krebsco.de>2026-10-28 03:13:35 +0100
commit614e57396d11700721660d54f3d90a4f01cfae7d (patch)
tree326225c5b373619e42f4c7a46392f4839bd854b6 /src/api/peers.rs
parentbecffeb2c78b0e2e17eabf5060de2f2056710ff1 (diff)
don't sample lost PONGs
Diffstat (limited to 'src/api/peers.rs')
-rw-r--r--src/api/peers.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/peers.rs b/src/api/peers.rs
index ac73296..f2281c2 100644
--- a/src/api/peers.rs
+++ b/src/api/peers.rs
@@ -69,7 +69,7 @@ pub(crate) struct PeerStatus {
heads: Option<usize>,
/// We keep it alive and sync with it on our own; other peers we only answer.
neighbour: bool,
- /// Effective round-trip time in milliseconds (smoothed, raised by requests still
+ /// Effective round-trip time in milliseconds (smoothed, raised by a HELLO still
/// unanswered); absent without a recent sample.
rtt_ms: Option<f64>,
/// Messages and payload bytes exchanged with it, by kind, since we started (or