From 73be69cd99f5a4784fe69f5d78f423c72e837284 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Mon, 20 Jul 2026 12:57:36 +0200 Subject: chore: Commit --- crates/daemon/src/components/sync.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'crates/daemon/src/components/sync.rs') diff --git a/crates/daemon/src/components/sync.rs b/crates/daemon/src/components/sync.rs index e898e8bd..e200ad73 100644 --- a/crates/daemon/src/components/sync.rs +++ b/crates/daemon/src/components/sync.rs @@ -9,7 +9,7 @@ use rand::Rng; use tokio::sync::mpsc; use tokio::time::{self, MissedTickBehavior}; -use crate::atuin_client::{history::store::HistoryStore, record::sync, settings::Settings}; +use crate::aclient::{history::store::HistoryStore, record::sync, settings::Settings}; use crate::{ daemon::{Component, DaemonHandle}, @@ -41,14 +41,14 @@ enum SyncState { /// - Implements exponential backoff on sync failures /// - Responds to [`ForceSync`] events for immediate sync /// - Emits SyncCompleted/SyncFailed events -pub struct SyncComponent { +pub(crate) struct SyncComponent { task_handle: Option>, command_tx: Option>, } impl SyncComponent { /// Create a new sync component. - pub fn new() -> Self { + pub(crate) fn new() -> Self { Self { task_handle: None, command_tx: None, -- cgit v1.3.1