diff options
| author | tv <tv@krebsco.de> | 2026-11-03 06:32:25 +0100 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-11-03 06:32:25 +0100 |
| commit | 0617951a2936a8dd7c64eb05a3605893cc9d73f1 (patch) | |
| tree | 6e087759e6f5f58d1e022becb55cf0c0ec87c6b3 /src/api/peers.rs | |
| parent | 0d340dbcf4a3fc7c5d16ab52d3c40eb412c5da67 (diff) | |
reach set for the session
Diffstat (limited to 'src/api/peers.rs')
| -rw-r--r-- | src/api/peers.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/api/peers.rs b/src/api/peers.rs index cd70f7d..6662a55 100644 --- a/src/api/peers.rs +++ b/src/api/peers.rs @@ -61,7 +61,7 @@ pub(crate) struct PeerStatus { /// We keep it alive and sync with it on our own; other peers we only answer. pub(crate) neighbour: bool, /// The members it said it reaches (`swarm::reach`), by node ID, while that holds; - /// absent before it said so, or once it is stale. Keys of members not in our member + /// absent before it said so in this session. Keys of members not in our member /// list are left out. pub(crate) reaches: Option<Vec<String>>, /// Messages and payload bytes exchanged with it, by kind, since we started (or @@ -187,7 +187,7 @@ pub(crate) async fn peer_list(state: &AppState) -> PeerListResponse { same_epoch: ps.epoch.map(|epoch| epoch == local_epoch), heads: ps.reported_heads, neighbour, - reaches: crate::swarm::reach::of(&state, ps.reaches.as_ref()).map(&named), + reaches: crate::swarm::reach::of(ps.reaches.as_ref()).map(&named), traffic, incidents: ps.incidents, sync_throughput, |
