1
0
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:
gilbertchen
2018-03-20 14:32:12 -04:00
committed by GitHub
4 changed files with 295 additions and 217 deletions

View File

@@ -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
}
}