Skip to content

Commit

Permalink
Always update cloud clock
Browse files Browse the repository at this point in the history
  • Loading branch information
cbaker6 committed Apr 20, 2023
1 parent bdd3c54 commit d472439
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions Sources/ParseCareKit/ParseRemote.swift
Original file line number Diff line number Diff line change
Expand Up @@ -538,14 +538,6 @@ public class ParseRemote: OCKRemoteSynchronizable {
}
await self.remoteStatus.updateKnowledgeVector(updatedCloudVector)
do {
guard shouldIncrementClock || (!shouldIncrementClock && (updatedCloudVector.uuids.count > cloudVector.uuids.count)) else {
DispatchQueue.main.async {
self.parseRemoteDelegate?.successfullyPushedDataToCloud()
}
await self.remoteStatus.notSynchronzing()
completion(nil)
return
}
_ = try await updatedClock.save()
if #available(iOS 14.0, watchOS 7.0, *) {
Logger.pushRevisions.debug("Finished pushing revisions")
Expand Down

0 comments on commit d472439

Please sign in to comment.