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

This commit is contained in:
Liang Ding 2023-01-25 12:33:38 +08:00
parent 981e598149
commit b5fc879628
No known key found for this signature in database
GPG key ID: 136F30F901A2231D
4 changed files with 32 additions and 4 deletions

View file

@ -105,7 +105,7 @@ func index(boxID string) {
cache.PutDocIAL(file.path, docIAL)
treenode.ReindexBlockTree(tree)
sql.UpsertTreeQueue(tree)
sql.IndexTreeQueue(box.ID, file.path)
util.IncBootProgress(bootProgressPart, fmt.Sprintf(Conf.Language(92), util.ShortPathForBootingDisplay(tree.Path)))
treeSize += file.size