stats: keep progress counters across snapshots

The file, blob and size counters were reset for every snapshot, so the
progress line only reflected the last processed snapshot.

Co-authored-by: Winfried Plappert <18740761+wplapper@users.noreply.github.com>
This commit is contained in:
Junker der ProvinzandWinfried Plappert committed 2026-10-21 22:44:24 +02:00
1 parent dd09b6bd01
commit 84c2d0223f
3 files changed
+12 -6

No files matched your search

-3
View File
@@ -88,7 +88,4 @@ func (p *Progress) ProcessSnapshot() {
defer p.m.Unlock()
p.processedSnapshotCount++
p.processedFileCount = 0
p.processedBlobCount = 0
p.processedSize = 0
}