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

This commit is contained in:
Liang Ding 2023-01-23 11:48:35 +08:00
parent 6ed1c5dc1c
commit a83a08bdb5
No known key found for this signature in database
GPG key ID: 136F30F901A2231D
9 changed files with 32 additions and 77 deletions

View file

@ -195,7 +195,7 @@ func Mount(boxID string) (alreadyMount bool, err error) {
boxConf.Closed = false
box.SaveConf(boxConf)
box.Index(false)
box.Index()
IndexRefs()
// 缓存根一级的文档树展开
ListDocTree(box.ID, "/", Conf.FileTree.Sort)