Skip to content

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

:art: Index fixing should not be performed before data synchronization https://github.com/siyuan-note/siyuan/issues/10761

Daniel5c52abc80258
diff --git a/kernel/model/repository.go b/kernel/model/repository.go
index d3adf9e18c..a35a5edddd 100644
--- a/kernel/model/repository.go
+++ b/kernel/model/repository.go
@@ -1338,7 +1338,7 @@ func syncRepo(exit, byHand bool) (dataChanged bool, err error) {
if !exit {
// 首次数据同步执行完成后再执行索引订正 Index fixing should not be performed before data synchronization https://github.com/siyuan-note/siyuan/issues/10761
- checkIndex()
+ go checkIndex()
}
return
}