aboutsummaryrefslogtreecommitdiffstats
path: root/src/document/sync.rs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-06 05:01:44 +0100
committertv <tv@krebsco.de>2026-11-06 05:01:44 +0100
commit31378bcb137f3d43bb74604df0a9e601b07d1525 (patch)
tree4835cd3b57b2a7e27b3875d1c82bc15cdad7ee83 /src/document/sync.rs
parent9cf079423c60c15f660a14f07eb9fdcde6c9cb40 (diff)
heads heard in replies
Diffstat (limited to 'src/document/sync.rs')
-rw-r--r--src/document/sync.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/document/sync.rs b/src/document/sync.rs
index 5669ce3..41d818d 100644
--- a/src/document/sync.rs
+++ b/src/document/sync.rs
@@ -825,9 +825,9 @@ impl SyncSession {
true
}
- /// The peer said its `heads` outside the sync (a keepalive STATUS): it has every
- /// change in their history. Automerge forgets changes as sent only when the peer's
- /// sync message says it has them, and a neighbour another parent brings the changes
+ /// The peer said its `heads` outside the sync (a keepalive STATUS or a STATUS_REPLY):
+ /// it has every change in their history. Automerge forgets changes as sent only when
+ /// the peer's sync message says it has them, and a neighbour another parent brings the changes
/// to (`known_to_peer`) sends us none while it has nothing to write: counted as sent,
/// every change would stay so. So those in the history of `heads` count as sent no
/// more, and the peer as having all up to `heads`: the next message to it carries