Skip to content

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

:art: Sync repo

Liang Ding60922ae27eef
diff --git a/kernel/model/sync.go b/kernel/model/sync.go
index 6758838b7a..d0a9d0f275 100644
--- a/kernel/model/sync.go
+++ b/kernel/model/sync.go
@@ -137,11 +137,11 @@ func SyncData(boot, exit, byHand bool) {
indexRepoBeforeCloudSync()
// 同步数据仓库 https://github.com/siyuan-note/siyuan/issues/5142
- if syncRepoErr := syncRepo(); nil != syncRepoErr {
- util.LogErrorf("sync repo failed: %s", syncRepoErr)
- }
-
- return // TODO: 测试
+ //if syncRepoErr := syncRepo(); nil != syncRepoErr {
+ // util.LogErrorf("sync repo failed: %s", syncRepoErr)
+ //}
+ //
+ //return // TODO: 测试
WaitForWritingFiles()
writingDataLock.Lock()