Fix cache reclaimed bytes calculation (#223)

This commit is contained in:
Nikolay Edigaryev
2022-09-01 16:12:48 -04:00
committed by GitHub
parent 400f85a493
commit 9a0ec3e6b0
+1 -1
View File
@@ -101,7 +101,7 @@ struct Prune: AsyncParsableCommand {
break
}
cacheReclaimedBytes -= try prunable.sizeBytes()
cacheReclaimedBytes += try prunable.sizeBytes()
try prunable.delete()
}
}