Persist file categories on the index and classify archives and unknown types during idle maintenance.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -190,6 +190,9 @@ public sealed class FolderReconciler
|
||||
}
|
||||
}, cancellationToken).ConfigureAwait(false);
|
||||
|
||||
await _store.Entries.RefreshCategoryFromChildrenAsync(parent.Id, cancellationToken)
|
||||
.ConfigureAwait(false);
|
||||
|
||||
foreach (var path in archivesToTomb)
|
||||
{
|
||||
await _store.Entries.TombstoneByPathPrefixAsync(source.Id, path, now, cancellationToken)
|
||||
@@ -202,6 +205,8 @@ public sealed class FolderReconciler
|
||||
{
|
||||
await _archives.ExpandIfNeededAsync(source, archive, now, source.ScanGeneration, cancellationToken)
|
||||
.ConfigureAwait(false);
|
||||
await _store.Entries.RefreshCategoryFromChildrenAsync(archive.Id, cancellationToken)
|
||||
.ConfigureAwait(false);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user