diff options
| author | tv <tv@krebsco.de> | 2026-10-23 22:47:31 +0200 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-10-23 22:47:31 +0200 |
| commit | 4a788a5901e2613a028cc73e33e10cd67d092018 (patch) | |
| tree | e20c35c2cdf027531b99c9ccdb1d9a0a935af44a /src/state.rs | |
| parent | d35bf6f4211158491f1560f688202e1661a7c4ee (diff) | |
drop pre-membership sync messages
The handshake resets the session anyway, and the sender's reply timeout
resends what still matters.
Diffstat (limited to 'src/state.rs')
| -rw-r--r-- | src/state.rs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/state.rs b/src/state.rs index 4d82150..542cadb 100644 --- a/src/state.rs +++ b/src/state.rs @@ -100,9 +100,6 @@ pub(crate) struct PeerState { /// or sending failed). pub(crate) reply_owed: bool, - /// Received from this peer before it became a member, waiting to be processed. - pub(crate) pending_inbound_sync: Vec<transport::SyncEnvelope>, - /// Everything about the current Automerge sync with this peer; a reset replaces it. pub(crate) sync: SyncSession, @@ -322,7 +319,6 @@ impl PeerState { standing: Standing::default(), hello_state: HelloState::default(), reply_owed: false, - pending_inbound_sync: Vec::new(), sync: SyncSession::new(leads, SessionCause::NewPeer), liveness: Liveness::Active, added_at: Instant::now(), |
