aboutsummaryrefslogtreecommitdiffstats
path: root/src/swarm/sync.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/swarm/sync.rs')
-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 {