aboutsummaryrefslogtreecommitdiffstats
path: root/src/swarm
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-05 21:28:47 +0100
committertv <tv@krebsco.de>2026-11-05 21:28:47 +0100
commitb0ddfeccbc04a39196717e81daa5dc3aa0f42c69 (patch)
treef4659352c794d2c3bb9c94a8f554d525f0059475 /src/swarm
parente77e54fe6f7aeba6e52e7ba48f763e7137e15c64 (diff)
asks by asker
Diffstat (limited to 'src/swarm')
-rw-r--r--src/swarm/sync.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/swarm/sync.rs b/src/swarm/sync.rs
index 62bb27e..594e5de 100644
--- a/src/swarm/sync.rs
+++ b/src/swarm/sync.rs
@@ -599,6 +599,7 @@ pub(crate) async fn handle_sync(
.sync
.resend_if_needed(&replica.doc, &peer, Instant::now());
stats.asked_known_elsewhere(asked);
+ peer_state.asked_known += (asked.0 + asked.1) as u64;
replica.refresh_heads();
let heads_after = replica.heads().to_vec();
if delivered {