mirror of https://github.com/cirruslabs/tart.git
Fix cache reclaimed bytes calculation (#223)
This commit is contained in:
parent
400f85a493
commit
9a0ec3e6b0
|
|
@ -101,7 +101,7 @@ struct Prune: AsyncParsableCommand {
|
|||
break
|
||||
}
|
||||
|
||||
cacheReclaimedBytes -= try prunable.sizeBytes()
|
||||
cacheReclaimedBytes += try prunable.sizeBytes()
|
||||
try prunable.delete()
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue