From ed89f782561eebe281a63e90f6bbdcbb025c2f81 Mon Sep 17 00:00:00 2001 From: tv Date: Wed, 4 Nov 2026 20:50:40 +0100 Subject: benchmark where twice comes from --- src/swarm/sync.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/swarm/sync.rs') diff --git a/src/swarm/sync.rs b/src/swarm/sync.rs index 3737f85..ab45b37 100644 --- a/src/swarm/sync.rs +++ b/src/swarm/sync.rs @@ -441,7 +441,7 @@ pub(crate) async fn handle_sync( stats.heads_seen(heads_after.len()); let changed = heads_after != heads_before; if carried && !changed { - stats.nothing_new(payload_len); + stats.nothing_new(payload_len, writer.is_some(), delivered); } // Whose they are, to pass them on along their writers' trees, however they // came (along a tree, with an answer, pulled). -- cgit v1.3.1