mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-03 07:18:49 +01:00
🎨 避免启动时重复全量重建索引 Fix https://github.com/siyuan-note/siyuan/issues/6950
This commit is contained in:
parent
99f16b2a7a
commit
40bbc6cc98
4 changed files with 7 additions and 7 deletions
|
|
@ -424,7 +424,7 @@ func Close(force bool, execInstallPkg int) (exitCode int) {
|
|||
|
||||
Conf.Close()
|
||||
sql.CloseDatabase()
|
||||
treenode.SaveBlockTree()
|
||||
treenode.SaveBlockTree(false)
|
||||
clearWorkspaceTemp()
|
||||
clearPortJSON()
|
||||
util.UnlockWorkspace()
|
||||
|
|
@ -601,7 +601,7 @@ func InitBoxes() {
|
|||
}
|
||||
|
||||
if !initialized {
|
||||
treenode.SaveBlockTree()
|
||||
treenode.SaveBlockTree(true)
|
||||
}
|
||||
|
||||
var dbSize string
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue