🎨 改进内核任务调度机制提升稳定性 https://github.com/siyuan-note/siyuan/issues/7113

This commit is contained in:
Liang Ding 2023-01-25 20:46:17 +08:00
parent a4d779258c
commit fdc2f19eaa
No known key found for this signature in database
GPG key ID: 136F30F901A2231D
9 changed files with 16 additions and 15 deletions

View file

@ -151,7 +151,7 @@ func prepareWriteTree(tree *parse.Tree) (data []byte, filePath string, err error
newP := parse.NewParagraph()
tree.Root.AppendChild(newP)
tree.Root.SetIALAttr("updated", util.TimeFromID(newP.ID))
treenode.ReindexBlockTree(tree)
treenode.IndexBlockTree(tree)
}
filePath = filepath.Join(util.DataDir, tree.Box, tree.Path)