fix: ensure sync time is saved for sync v2 (#1758)

This commit is contained in:
Ellie Huxtable 2024-02-22 19:02:02 +00:00 committed by GitHub
parent 05857c1c0e
commit 248213bf3e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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 {