This commit is contained in:
Daniel 2024-06-27 21:42:54 +08:00
parent 9322797944
commit 0859df6ca0
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -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)