aboutsummaryrefslogtreecommitdiffstats
path: root/src/swarm/peer/keepalive.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/swarm/peer/keepalive.rs
parent9cf079423c60c15f660a14f07eb9fdcde6c9cb40 (diff)
heads heard in replies
Diffstat (limited to 'src/swarm/peer/keepalive.rs')
-rw-r--r--src/swarm/peer/keepalive.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/swarm/peer/keepalive.rs b/src/swarm/peer/keepalive.rs
index 693a370..a4def86 100644
--- a/src/swarm/peer/keepalive.rs
+++ b/src/swarm/peer/keepalive.rs
@@ -218,7 +218,7 @@ pub(super) async fn status_received(state: &AppState, peer: &str) {
}
}
-/// A keepalive STATUS said the peer's heads: what it has counts as sent to it no more
+/// A keepalive STATUS, or a STATUS_REPLY, said the peer's heads: what it has counts as sent to it no more
/// (`SyncSession::heard_heads`). Off the consumer: it takes the document's lock.
pub(super) fn heard_heads(state: &AppState, peer: &str, remote: &transport::Status) {
let Some(heads) = remote.heads.heads() else {