From 0859df6ca0de7e4440113db9a185a0e0ab899371 Mon Sep 17 00:00:00 2001 From: Daniel <845765@qq.com> Date: Thu, 27 Jun 2024 21:42:54 +0800 Subject: [PATCH] :art: Improve data sync when exiting https://github.com/siyuan-note/siyuan/issues/11847 --- kernel/model/sync.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/kernel/model/sync.go b/kernel/model/sync.go index cc3902787..8449bdffb 100644 --- a/kernel/model/sync.go +++ b/kernel/model/sync.go @@ -259,12 +259,6 @@ func checkSync(boot, exit, byHand bool) bool { } } - if isSyncing.Load() { - logging.LogWarnf("sync is in progress") - planSyncAfter(fixSyncInterval) - return false - } - if 7 < autoSyncErrCount && !byHand { logging.LogErrorf("failed to auto-sync too many times, delay auto-sync 64 minutes") util.PushErrMsg(Conf.Language(125), 1000*60*60)