aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEllie Huxtable <ellie@elliehuxtable.com>2024-02-22 19:02:02 +0000
committerGitHub <noreply@github.com>2024-02-22 19:02:02 +0000
commit248213bf3eafdf53ac60b872aa1e454f334a288f (patch)
tree0aa36cd33d70f09d391fe3cc103f6006f291d867
parentfix: check session file exists for status command (#1756) (diff)
downloadatuin-248213bf3eafdf53ac60b872aa1e454f334a288f.zip
fix: ensure sync time is saved for sync v2 (#1758)
-rw-r--r--atuin/src/command/client/history.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/atuin/src/command/client/history.rs b/atuin/src/command/client/history.rs
index 26ed7e37..af90e7bc 100644
--- a/atuin/src/command/client/history.rs
+++ b/atuin/src/command/client/history.rs
@@ -363,6 +363,7 @@ impl Cmd {
{
if settings.sync.records {
let (_, downloaded) = record::sync::sync(settings, &store).await?;
+ Settings::save_sync_time()?;
history_store.incremental_build(db, &downloaded).await?;
} else {