diff options
Diffstat (limited to 'src/swarm/source.rs')
| -rw-r--r-- | src/swarm/source.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/swarm/source.rs b/src/swarm/source.rs index 36a333e..4025f0e 100644 --- a/src/swarm/source.rs +++ b/src/swarm/source.rs @@ -111,6 +111,7 @@ pub(crate) fn defer(state: &AppState, peer: &str, peer_state: &PeerState) -> Opt ), None => debug!(peer = %peer, rtt_ms, "Catching up from this peer first"), } + state.stats.catch_up_source_chosen(); *source = Some(CatchUpSource { peer: peer.to_owned(), last_heard: now, |
