diff options
| author | tv <tv@krebsco.de> | 2026-10-28 03:13:35 +0100 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-10-28 03:13:35 +0100 |
| commit | ee7136fdc28f3f7203e20e680c5d526378376c6d (patch) | |
| tree | d0cd590a63a8f943558a03fc4478b328c3d193e8 /src/api/peers.rs | |
| parent | 100161d7df831416ebc179292fefe674b3ee3dc0 (diff) | |
don't sample lost PONGs
Diffstat (limited to 'src/api/peers.rs')
| -rw-r--r-- | src/api/peers.rs | 2 |
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 |
