summaryrefslogtreecommitdiffstats
path: root/src/state/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/state/mod.rs')
-rw-r--r--src/state/mod.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/state/mod.rs b/src/state/mod.rs
index 962d62a..04bdb3c 100644
--- a/src/state/mod.rs
+++ b/src/state/mod.rs
@@ -117,8 +117,8 @@ pub(crate) struct AppState {
pub(crate) rtt: Arc<std::sync::Mutex<crate::swarm::rtt::RttTable>>,
/// Sync throughput with peers (`swarm::throughput`).
pub(crate) throughput: Arc<std::sync::Mutex<ThroughputTable>>,
- /// The neighbour we are pulling changes from, and since when (`swarm::relay`).
- pub(crate) pulling: Arc<std::sync::Mutex<Option<(String, Instant)>>>,
+ /// Pulls of changes from neighbours (`swarm::relay`).
+ pub(crate) pulling: Arc<std::sync::Mutex<crate::swarm::relay::Pulling>>,
/// An announcement round is scheduled, for changes from these peers
/// (`swarm::relay`).
pub(crate) announce_pending: Arc<std::sync::Mutex<Option<std::collections::HashSet<String>>>>,