aboutsummaryrefslogtreecommitdiffstats
path: root/src/swarm/stats.rs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-05 03:49:13 +0100
committertv <tv@krebsco.de>2026-11-05 03:49:13 +0100
commita9fb4e6890bfaef1e25cdceb4eea9c997e3c7cdf (patch)
tree8402deb8c70a033b1a323a10ab88c0bed3a339a8 /src/swarm/stats.rs
parent11d098477cfc76da0bc4385635e4c4b7124a9259 (diff)
no swarm ID in sync
Diffstat (limited to 'src/swarm/stats.rs')
-rw-r--r--src/swarm/stats.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/swarm/stats.rs b/src/swarm/stats.rs
index 371fe42..ed91db0 100644
--- a/src/swarm/stats.rs
+++ b/src/swarm/stats.rs
@@ -129,7 +129,7 @@ pub(crate) struct Relay {
pub(crate) delivered: u64,
pub(crate) delivered_bytes: u64,
/// Sync messages sent (not offers), the bytes the envelope added to their
- /// Automerge messages, and of those the swarm ID's and the epoch's.
+ /// Automerge messages, and of those the epoch's.
pub(crate) framed: u64,
pub(crate) framing_bytes: u64,
pub(crate) framing_id_bytes: u64,
@@ -255,7 +255,7 @@ impl NodeStats {
}
/// A sync message went out whose envelope added `bytes` to its Automerge message,
- /// `ids` of them the swarm ID and the epoch.
+ /// `ids` of them the epoch.
pub(crate) fn sync_framing(&self, bytes: usize, ids: usize) {
let mut inner = self.lock();
inner.relay.framed += 1;