Fix cache reclaimed bytes calculation (#223)

This commit is contained in:
Nikolay Edigaryev 2022-09-02 00:12:48 +04:00 committed by GitHub
parent 400f85a493
commit 9a0ec3e6b0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -101,7 +101,7 @@ struct Prune: AsyncParsableCommand {
break
}
cacheReclaimedBytes -= try prunable.sizeBytes()
cacheReclaimedBytes += try prunable.sizeBytes()
try prunable.delete()
}
}