Commit 39c66ac 1 parent 0b06329 commit 39c66ac Copy full SHA for 39c66ac
File tree 2 files changed +1
-10
lines changed
2 files changed +1
-10
lines changed Original file line number Diff line number Diff line change @@ -68,8 +68,6 @@ actor RemoteSynchronizing {
68
68
guard let currentVector = knowledgeVector else {
69
69
return true
70
70
}
71
- var testVector = currentVector
72
- testVector. merge ( with: vector)
73
- return vector > currentVector || testVector. uuids. count > currentVector. uuids. count
71
+ return vector > currentVector
74
72
}
75
73
}
Original file line number Diff line number Diff line change @@ -375,14 +375,7 @@ public class ParseRemote: OCKRemoteSynchronizable {
375
375
}
376
376
377
377
// 10. Save updated clock to the remote and notify peer that sync is complete.
378
- let hasNewerClock = await self . remoteStatus. hasNewerVector ( updatedParseVector)
379
378
await self . remoteStatus. updateClock ( updatedClock)
380
- guard shouldIncrementClock || hasNewerClock else {
381
- await self . remoteStatus. notSynchronzing ( )
382
- await self . subscribeToClock ( )
383
- completion ( nil )
384
- return
385
- }
386
379
do {
387
380
_ = try await updatedClock. save ( )
388
381
Logger . pushRevisions. debug ( " Finished pushing revisions " )
You can’t perform that action at this time.
0 commit comments