🎨 Improve data sync when exiting https://github.com/siyuan-note/siyuan/issues/11847
This commit is contained in:
parent
9322797944
commit
0859df6ca0
1 changed files with 0 additions and 6 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue