aboutsummaryrefslogtreecommitdiffstats
path: root/src/state
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-05 04:36:58 +0100
committertv <tv@krebsco.de>2026-11-05 04:36:58 +0100
commitc7226385f3765b2a72b7b4d95129fb20fec58d5c (patch)
tree6d6f6e1b6c58c16789551068f2daa8e19524abe2 /src/state
parent39980623f81e9e75f142f55a35794bf7a53aa38b (diff)
push changes experiment
Diffstat (limited to 'src/state')
-rw-r--r--src/state/mod.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/state/mod.rs b/src/state/mod.rs
index e127877..f9479a1 100644
--- a/src/state/mod.rs
+++ b/src/state/mod.rs
@@ -105,6 +105,10 @@ pub(crate) struct AppState {
/// Target number of neighbours (`--neighbours`); up to this many + 1 members the
/// swarm is a full mesh.
pub(crate) neighbours_k: usize,
+ /// Changes passed on along writers' trees go as they are (`SyncBody::Changes`), not
+ /// in Automerge sync messages: an experiment, measured against those
+ /// (`simtest::bench`, `BENCH_PUSH`), off otherwise.
+ pub(crate) push_changes: bool,
/// Our alias (`--alias`), published in the member list (`swarm::members`).
pub(crate) alias: Option<String>,
/// Where people reach our dashboard (`--dashboard-url`), published in the member list