Skip to content

Commit

Permalink
ensure clock is always updated when after push
Browse files Browse the repository at this point in the history
  • Loading branch information
cbaker6 committed Apr 23, 2023
1 parent 8586905 commit c41df40
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Sources/ParseCareKit/ParseRemote.swift
Original file line number Diff line number Diff line change
Expand Up @@ -358,6 +358,7 @@ public class ParseRemote: OCKRemoteSynchronizable {
updatedParseVector.merge(with: localClock)
guard updatedParseVector.uuids.count > parseVector.uuids.count else {
Logger.pushRevisions.debug("Finished pushing revisions")
await self.remoteStatus.updateClock(parseClock)
await self.remoteStatus.notSynchronzing()
await self.subscribeToRevisionRecord()
DispatchQueue.main.async {
Expand Down

0 comments on commit c41df40

Please sign in to comment.