diff options
| author | tv <tv@krebsco.de> | 2026-11-06 04:15:59 +0100 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-11-06 04:15:59 +0100 |
| commit | 278ca3cd21397ffad07f0874b80b77f41088a3f2 (patch) | |
| tree | e240d5d0874fba9008544c970ce7d26e22c22c2a /src/api/stats.rs | |
| parent | f4db88178bdf3e8f28cd42502d6e0c6905988687 (diff) | |
swarm neighbours
Diffstat (limited to 'src/api/stats.rs')
| -rw-r--r-- | src/api/stats.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/stats.rs b/src/api/stats.rs index 306b6a2..2af6549 100644 --- a/src/api/stats.rs +++ b/src/api/stats.rs @@ -377,7 +377,7 @@ pub(crate) async fn collect(state: &AppState, list: &PeerListResponse) -> StatsR blob_requests_dropped: node.blob_requests_dropped, }, topology: TopologyStats { - k: state.neighbours_k, + k: topology::k(state), view: topology::summary(state).map(|s| TopologyView { members: s.members, reachable: s.reachable, |
