aboutsummaryrefslogtreecommitdiffstats
path: root/src/state
diff options
context:
space:
mode:
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