From 56becf6b1995afd1f15249461aae2cbfde07febd Mon Sep 17 00:00:00 2001 From: Liang Ding Date: Sat, 2 Jul 2022 23:53:36 +0800 Subject: [PATCH] :art: Sync repo --- kernel/model/sync.go | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/kernel/model/sync.go b/kernel/model/sync.go index aae3d44f3..6e63d1261 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()