diff options
Diffstat (limited to 'src/state/peer.rs')
| -rw-r--r-- | src/state/peer.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/state/peer.rs b/src/state/peer.rs index 4923f0f..e2a47ec 100644 --- a/src/state/peer.rs +++ b/src/state/peer.rs @@ -182,6 +182,10 @@ pub(crate) struct PeerState { /// What went wrong with this peer so far (counted only, for /peers and /admin/stats). pub(crate) incidents: Incidents, + /// Changes it asked for that we had counted as its, as another parent in their + /// writer's tree brings them (`SyncSession::resend_if_needed`): per asker, for the + /// bench (`simtest::bench`). + pub(crate) asked_known: u64, /// The largest sync message to it that didn't make it (its send failed, or it went /// unanswered), in bytes, and when: messages about that large go as deltas for a @@ -307,6 +311,7 @@ impl PeerState { last_hello_at: None, unreachable_since: None, incidents: Incidents::default(), + asked_known: 0, whole_failed: None, } } |
