aboutsummaryrefslogtreecommitdiffstats
path: root/src/state
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-03 06:08:28 +0100
committertv <tv@krebsco.de>2026-11-03 06:08:28 +0100
commitb766089a10ecbbffddc9f0572b630ce2c9300e68 (patch)
tree390495f4c2414f89a8c35e21b9066cc22039701a /src/state
parent96ccd0b83fba00c3d37e6f31ea15c31b745347d5 (diff)
announce what trees miss
Diffstat (limited to 'src/state')
-rw-r--r--src/state/mod.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/state/mod.rs b/src/state/mod.rs
index 57dab7d..53d8178 100644
--- a/src/state/mod.rs
+++ b/src/state/mod.rs
@@ -151,6 +151,9 @@ pub(crate) struct AppState {
pub(crate) pulling: Arc<std::sync::Mutex<crate::swarm::relay::Pulling>>,
/// An announcement round is scheduled (`swarm::relay`).
pub(crate) announce_pending: Arc<std::sync::Mutex<Option<crate::swarm::relay::Pending>>>,
+ /// The slow round after changes passed on along writers' trees is scheduled
+ /// (`swarm::relay`).
+ pub(crate) announce_slow: Arc<std::sync::Mutex<Option<crate::swarm::relay::Pending>>>,
/// Distances in writers' trees (`swarm::tree`).
pub(crate) trees: Arc<std::sync::Mutex<crate::swarm::tree::Trees>>,
/// Whom we reach, as told our neighbours (`swarm::reach`).