mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-03 15:28:49 +01:00
🎨 云端同步发生冲突时生成副本 https://github.com/siyuan-note/siyuan/issues/5687
This commit is contained in:
parent
6fa5f21dbb
commit
b846e3d1b1
3 changed files with 4 additions and 4 deletions
|
|
@ -568,7 +568,7 @@ func syncRepo(boot, exit, byHand bool) (err error) {
|
|||
}
|
||||
}
|
||||
|
||||
if 1 > len(mergeResult.Upserts) && 1 > len(mergeResult.Removes) { // 没有数据变更
|
||||
if 1 > len(mergeResult.Upserts) && 1 > len(mergeResult.Removes) && 1 > len(mergeResult.Conflicts) { // 没有数据变更
|
||||
syncSameCount++
|
||||
if 10 < syncSameCount {
|
||||
syncSameCount = 5
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue