From ae2a573e2753e1e7a11b94e2a721cb4d638079b3 Mon Sep 17 00:00:00 2001 From: tv Date: Sun, 1 Nov 2026 20:38:27 +0100 Subject: peer worker forget records on change --- src/state/mod.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/state/mod.rs') diff --git a/src/state/mod.rs b/src/state/mod.rs index ba90269..a4ea553 100644 --- a/src/state/mod.rs +++ b/src/state/mod.rs @@ -154,6 +154,9 @@ pub(crate) struct AppState { /// Something a joining node waits for may have happened: the swarm ID learned, the /// initial sync done, a rejoin ended, a seed found (`swarm::bootstrap`). pub(crate) join_progress: Arc, + /// The forget records may have changed (`swarm::changes`): the peer worker acts on + /// them at once instead of at its next periodic check. + pub(crate) forget_records_changed: Arc, /// When the peer worker is next due (`swarm::peer::Due`). pub(crate) peers_due: Arc, -- cgit v1.3.1