aboutsummaryrefslogtreecommitdiffstats
path: root/src/state/mod.rs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-04 20:10:08 +0100
committertv <tv@krebsco.de>2026-11-04 20:10:08 +0100
commit6487281ad8e33138173cdb934bc6caf9333a3721 (patch)
tree7e950fa3e020a26390708d932225d08089a28375 /src/state/mod.rs
parentc3faf6ecde8157154a01daa2ddc0ac02e6c761f1 (diff)
slow round back off
Diffstat (limited to 'src/state/mod.rs')
-rw-r--r--src/state/mod.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/state/mod.rs b/src/state/mod.rs
index 53d8178..e127877 100644
--- a/src/state/mod.rs
+++ b/src/state/mod.rs
@@ -154,6 +154,8 @@ pub(crate) struct AppState {
/// 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>>>,
+ /// How long the next slow round waits.
+ pub(crate) slow_rounds: Arc<std::sync::Mutex<crate::swarm::relay::SlowRounds>>,
/// 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`).