restorer: don't track already uptodate blobs

This commit is contained in:
Michael Eischer 2024-07-21 12:03:28 +02:00
parent 10efa77103
commit 0dcac90bea

View file

@ -138,6 +138,8 @@ func (r *fileRestorer) restoreFiles(ctx context.Context) error {
restoredBlobs = true restoredBlobs = true
} else { } else {
r.reportBlobProgress(file, uint64(blob.DataLength())) r.reportBlobProgress(file, uint64(blob.DataLength()))
// completely ignore blob
return
} }
pack, ok := packs[packID] pack, ok := packs[packID]
if !ok { if !ok {