diff options
| author | tv <tv@krebsco.de> | 2026-10-31 03:54:45 +0100 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-10-31 03:54:45 +0100 |
| commit | 75cc87154b4328758a7d4d6ad76ea2645636530d (patch) | |
| tree | 6f010c9e7c768aa8d22e2c5934384ebe364b6194 /src/state | |
| parent | 4d09dcfcd7432ab303f848342d2f762b57b7c693 (diff) | |
move ChangeSet from swarm to document
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; |
