mirror of
https://github.com/atuinsh/atuin.git
synced 2025-06-21 10:28:50 +02:00
fix: ensure sync time is saved for sync v2 (#1758)
This commit is contained in:
parent
05857c1c0e
commit
248213bf3e
@ -363,6 +363,7 @@ impl Cmd {
|
|||||||
{
|
{
|
||||||
if settings.sync.records {
|
if settings.sync.records {
|
||||||
let (_, downloaded) = record::sync::sync(settings, &store).await?;
|
let (_, downloaded) = record::sync::sync(settings, &store).await?;
|
||||||
|
Settings::save_sync_time()?;
|
||||||
|
|
||||||
history_store.incremental_build(db, &downloaded).await?;
|
history_store.incremental_build(db, &downloaded).await?;
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user