mirror of
https://github.com/restic/restic.git
synced 2026-11-21 13:02:42 +00:00
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:
1 parent
dd09b6bd01
commit
84c2d0223f
3 files changed
+12
-6
No files matched your search
@@ -88,7 +88,4 @@ func (p *Progress) ProcessSnapshot() {
|
||||
defer p.m.Unlock()
|
||||
|
||||
p.processedSnapshotCount++
|
||||
p.processedFileCount = 0
|
||||
p.processedBlobCount = 0
|
||||
p.processedSize = 0
|
||||
}
|
||||
Reference in new issue
Block a user