Skip to content

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

:art: Sync repo

Liang Ding56becf6b1995
diff --git a/kernel/model/sync.go b/kernel/model/sync.go
index aae3d44f30..6e63d12611 100644
--- a/kernel/model/sync.go
+++ b/kernel/model/sync.go
@@ -134,10 +134,9 @@ func SyncData(boot, exit, byHand bool) {
// 创建数据快照 https://github.com/siyuan-note/siyuan/issues/5161
indexRepoBeforeCloudSync()
- // 同步数据仓库 https://github.com/siyuan-note/siyuan/issues/5142
- syncRepo(byHand)
-
- return // TODO: 测试
+ //同步数据仓库 https://github.com/siyuan-note/siyuan/issues/5142
+ //syncRepo(byHand)
+ //return // TODO: 测试
WaitForWritingFiles()
writingDataLock.Lock()