mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-24 02:20:13 +01:00
🎨 Improve init block tree
This commit is contained in:
parent
3d79a903d1
commit
3e06c5db2a
3 changed files with 3 additions and 7 deletions
|
|
@ -19,7 +19,6 @@ package treenode
|
|||
import (
|
||||
"os"
|
||||
"path/filepath"
|
||||
"runtime/debug"
|
||||
"strings"
|
||||
"sync"
|
||||
"time"
|
||||
|
|
@ -443,7 +442,6 @@ func InitBlockTree(force bool) {
|
|||
waitGroup.Wait()
|
||||
p.Release()
|
||||
|
||||
debug.FreeOSMemory()
|
||||
elapsed := time.Since(start).Seconds()
|
||||
logging.LogInfof("read block tree [%s] to [%s], elapsed [%.2fs]", humanize.Bytes(uint64(size)), util.BlockTreePath, elapsed)
|
||||
return
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue