aboutsummaryrefslogtreecommitdiffstats
path: root/src/state/mod.rs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-10-31 05:45:57 +0100
committertv <tv@krebsco.de>2026-10-31 05:45:57 +0100
commit29f30daa18df3fd793140927b29837fe25c1c9b9 (patch)
tree8d5f87d375529d887d7098b6788d7731bd28fad0 /src/state/mod.rs
parent612d189f86a6d985db97ea23c5ce1bf72ac077a4 (diff)
centralize call to topology_change
Diffstat (limited to 'src/state/mod.rs')
-rw-r--r--src/state/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/state/mod.rs b/src/state/mod.rs
index 8f3a841..a2d5d74 100644
--- a/src/state/mod.rs
+++ b/src/state/mod.rs
@@ -143,7 +143,7 @@ pub(crate) struct AppState {
/// Our neighbours, once known (`swarm::topology`).
pub(crate) neighbours: Arc<std::sync::RwLock<Option<crate::swarm::topology::NeighbourView>>>,
/// Something the neighbours are computed from may have changed: the member list or a
- /// peer's reachability (`swarm::topology::run_worker`).
+ /// peer's state (`swarm::topology::run_worker`, `swarm::topology::change_peer`).
pub(crate) topology_changed: Arc<tokio::sync::Notify>,
/// While rejoining a newer epoch, the previous document, served read-only (and