Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:bug: 重建索引可能会导致内核崩溃 https://github.com/siyuan-note/siyuan/issues/7238

Liang Dingea95093bab60
diff --git a/kernel/model/box.go b/kernel/model/box.go
index f20a6d2256..da4f83d61c 100644
--- a/kernel/model/box.go
+++ b/kernel/model/box.go
@@ -518,7 +518,10 @@ func fullReindex() {
treenode.SaveBlockTree(true)
LoadFlashcards()
runtime.GC()
- util.PushStatusBar(Conf.Language(108))
+ go func() {
+ time.Sleep(3 * time.Second)
+ util.PushStatusBar(Conf.Language(108))
+ }()
}
func ChangeBoxSort(boxIDs []string) {