From 391481abb21d2a84a286157e3334d737b155d155 Mon Sep 17 00:00:00 2001 From: tv Date: Fri, 6 Nov 2026 21:32:22 +0100 Subject: HyParView flood default --- src/simtest/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/simtest') diff --git a/src/simtest/mod.rs b/src/simtest/mod.rs index 011483e..b609d8a 100644 --- a/src/simtest/mod.rs +++ b/src/simtest/mod.rs @@ -200,12 +200,12 @@ impl Sim { _ => Default::default(), }, // `SIM_DISSEMINATION=plumtree`: every simulated node passes changes on so. - // Unset with `SIM_TOPOLOGY=hyparview`: PlumTree, as `--dissemination` is then. + // Unset with `SIM_TOPOLOGY=hyparview`: flooding, as `--dissemination` is then. dissemination: match std::env::var("SIM_DISSEMINATION").as_deref() { Ok("plumtree") => crate::swarm::dissemination::Kind::Plumtree, Ok("flood") => crate::swarm::dissemination::Kind::Flood, Err(_) if std::env::var("SIM_TOPOLOGY").as_deref() == Ok("hyparview") => { - crate::swarm::dissemination::Kind::Plumtree + crate::swarm::dissemination::Kind::Flood } _ => Default::default(), }, -- cgit v1.3.1