Skip to content

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

:art: Automatically loads and indexes from the file system when a block is not found https://github.com/siyuan-note/siyuan/issues/10772

Daniel5bc96e05aa4f
diff --git a/kernel/model/tree.go b/kernel/model/tree.go
index 54f98d8500..93079df21c 100644
--- a/kernel/model/tree.go
+++ b/kernel/model/tree.go
@@ -225,6 +225,5 @@ func searchTreeInFilesystem(rootID string) {
treenode.IndexBlockTree(tree)
sql.IndexTreeQueue(tree)
- sql.WaitForWritingDatabase()
logging.LogInfof("reindexed tree by filesystem [rootID=%s]", rootID)
}