Signed-off-by: Daniel <845765@qq.com>
This commit is contained in:
Daniel 2025-11-06 20:51:31 +08:00
parent 4518752f29
commit 17c18d1c51
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -708,6 +708,9 @@ func VacuumDataIndex() {
humanize.BytesCustomCeil(uint64(oldAssetContentDbSize), 2), humanize.BytesCustomCeil(uint64(newAssetContentDbSize), 2))
releaseSize := (oldsyDbSize - newSyDbSize) + (oldHistoryDbSize - newHistoryDbSize) + (oldAssetContentDbSize - newAssetContentDbSize)
if releaseSize < 0 {
releaseSize = 0
}
msg := fmt.Sprintf(Conf.language(271), humanize.BytesCustomCeil(uint64(releaseSize), 2))
util.PushMsg(msg, 7000)
}