mirror of
https://github.com/gilbertchen/duplicacy
synced 2025-12-22 03:03:24 +00:00
Merge pull request #329 from pdf/prune_memory
Reduce memory consumption for prune operation
This commit is contained in:
@@ -203,7 +203,7 @@ func checkTestSnapshots(manager *SnapshotManager, expectedSnapshots int, expecte
|
||||
snapshot := manager.DownloadSnapshot(snapshotID, revision)
|
||||
numberOfSnapshots++
|
||||
|
||||
for _, chunk := range manager.GetSnapshotChunks(snapshot) {
|
||||
for _, chunk := range manager.GetSnapshotChunks(snapshot, false) {
|
||||
chunks[chunk] = true
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user