diff options
Diffstat (limited to 'src/state')
| -rw-r--r-- | src/state/host.rs | 3 | ||||
| -rw-r--r-- | src/state/mod.rs | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/state/host.rs b/src/state/host.rs index 04b328c..a165637 100644 --- a/src/state/host.rs +++ b/src/state/host.rs @@ -13,8 +13,9 @@ use tracing::debug; use super::{AppState, HelloState, NodeLifecycle, StaleView, Standing}; use crate::document::replica::Epoch; +use crate::document::store::ChangeSet; use crate::remake::{Host, PeerSummary, RemakeState}; -use crate::swarm::sync::{ChangeSet, SyncEvent}; +use crate::swarm::sync::SyncEvent; impl AppState { /// After the document was replaced: every peer's sync state refers to the old diff --git a/src/state/mod.rs b/src/state/mod.rs index 2f3d433..e8975e2 100644 --- a/src/state/mod.rs +++ b/src/state/mod.rs @@ -42,9 +42,10 @@ use tracing::{debug, error, warn}; use crate::document::lock::DocumentLock; use crate::document::replica::{Epoch, Stamp}; +use crate::document::store::ChangeSet; use crate::locks::MutexExt; use crate::remake::{Host, RemakeState}; -use crate::swarm::sync::{ChangeSet, SyncEvent}; +use crate::swarm::sync::SyncEvent; use crate::swarm::throughput::ThroughputTable; use crate::transport; use crate::transport::firewall::Firewall; |
