diff options
| author | tv <tv@krebsco.de> | 2026-10-21 03:56:31 +0200 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-10-21 03:56:31 +0200 |
| commit | 00f3be4e8b6ebf1f4262bc34384f82bc8d438574 (patch) | |
| tree | d71de7f2b3c65938fc192b81ac73b5f4f321b8bb /src/main.rs | |
| parent | 2c2bcf761fda888844a8538e756c8dbb9986a51f (diff) | |
rename compaction to remake
Diffstat (limited to 'src/main.rs')
| -rw-r--r-- | src/main.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/main.rs b/src/main.rs index 1793523..ab91490 100644 --- a/src/main.rs +++ b/src/main.rs @@ -19,8 +19,8 @@ use tracing::{debug, error, info, trace}; use url::Url; mod api; -mod compaction; mod document; +mod remake; mod state; mod swarm; mod transport; @@ -155,7 +155,7 @@ async fn main() -> Result<()> { initial_sync_done: Arc::new(AtomicBool::new(false)), change_events, timing: Timing::from_keepalive(Duration::from_secs(args.keepalive_secs)), - compaction: Arc::new(compaction::Compaction::default()), + remake: Arc::new(remake::RemakeState::default()), stale: Default::default(), }; @@ -189,8 +189,8 @@ async fn main() -> Result<()> { // Switches to committed epochs and catches up with newer ones. Starts before // bootstrapping: a node joining a compacted cluster can only finish its initial sync // after fetching the current epoch from a peer. - tokio::spawn(compaction::run_worker(state.clone())); - trace!("Compaction worker task spawned"); + tokio::spawn(remake::run_worker(state.clone())); + trace!("Remake worker task spawned"); bootstrap::bootstrap(&state, &seeds) .await |
