From 4ee957385ebe392a2d1fe9ad09f0a8477be78f05 Mon Sep 17 00:00:00 2001 From: tv Date: Sat, 31 Oct 2026 12:18:13 +0100 Subject: detect local clock jumps --- src/state/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/state') diff --git a/src/state/mod.rs b/src/state/mod.rs index ec8823a..36dd4ad 100644 --- a/src/state/mod.rs +++ b/src/state/mod.rs @@ -119,8 +119,8 @@ pub(crate) struct AppState { /// How far this node's clock is ahead of its peers' (their median, `swarm::skew`), as /// last measured; 0 before. The propagation figures take it off. pub(crate) clock_ahead_ms: Arc, - /// When the log last said this node's clock is off, while it is (`swarm::skew`). - pub(crate) clock_skew_warned: Arc>>, + /// What the clock checks remember between them (`swarm::skew`). + pub(crate) clock_skew: Arc>, /// Chunked transfers served and fetched (`swarm::blob`). pub(crate) blobs: Arc, /// LINKS asked and answered, for a map of the swarm (`swarm::links`). -- cgit v1.3.1