From c7226385f3765b2a72b7b4d95129fb20fec58d5c Mon Sep 17 00:00:00 2001 From: tv Date: Thu, 5 Nov 2026 04:36:58 +0100 Subject: push changes experiment --- src/state/mod.rs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/state') 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, /// Where people reach our dashboard (`--dashboard-url`), published in the member list -- cgit v1.3.1