diff options
| author | tv <tv@krebsco.de> | 2026-11-07 22:35:10 +0100 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-11-07 22:35:10 +0100 |
| commit | 0e03a77bcb1d39f1fbda23d8e704ac40302afb93 (patch) | |
| tree | 79245416e9721cdccb1b6879b8f1cfc43629cc74 /src/simtest/bench.rs | |
| parent | c016fc783ff29e9069a446e17876046df64760a8 (diff) | |
dashboard: without LINKS; LINKS removed
The dashboard reads every member's links from the members themselves;
LINKS and LINKS_REPLY, swarm::links and their wire tags go (wire
version bumped). Nodes the browser can't reach are drawn from what the
reachable ones measure.
Auth plan M3.
Diffstat (limited to 'src/simtest/bench.rs')
| -rw-r--r-- | src/simtest/bench.rs | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/simtest/bench.rs b/src/simtest/bench.rs index f8d8123..04b2eb6 100644 --- a/src/simtest/bench.rs +++ b/src/simtest/bench.rs @@ -491,7 +491,7 @@ impl Totals { } /// The kinds, in the order of the report. -const KINDS: [&str; 12] = [ +const KINDS: [&str; 11] = [ "SYNC", "STATUS", "STATUS_REPLY", @@ -500,13 +500,12 @@ const KINDS: [&str; 12] = [ "HELLO_REPLY", "PING/PONG", "WHO/ME", - "LINKS", "PROBE", "PRUNE/GRAFT", "NEIGHBOUR", ]; -fn counters(by: &ByKind) -> [Counter; 12] { +fn counters(by: &ByKind) -> [Counter; 11] { [ by.sync, by.status, @@ -516,14 +515,13 @@ fn counters(by: &ByKind) -> [Counter; 12] { by.hello_reply, by.paths, by.identity, - by.links, by.probe, by.plumtree, by.hyparview, ] } -fn counters_mut(by: &mut ByKind) -> [&mut Counter; 12] { +fn counters_mut(by: &mut ByKind) -> [&mut Counter; 11] { [ &mut by.sync, &mut by.status, @@ -533,7 +531,6 @@ fn counters_mut(by: &mut ByKind) -> [&mut Counter; 12] { &mut by.hello_reply, &mut by.paths, &mut by.identity, - &mut by.links, &mut by.probe, &mut by.plumtree, &mut by.hyparview, |
