mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 14:40:12 +01:00
Signed-off-by: Daniel <845765@qq.com>
This commit is contained in:
parent
4518752f29
commit
17c18d1c51
1 changed files with 3 additions and 0 deletions
|
|
@ -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)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue