Skip to content

Commit c41df40

Browse files
committed
ensure clock is always updated when after push
1 parent 8586905 commit c41df40

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Sources/ParseCareKit/ParseRemote.swift

+1
Original file line numberDiff line numberDiff line change
@@ -358,6 +358,7 @@ public class ParseRemote: OCKRemoteSynchronizable {
358358
updatedParseVector.merge(with: localClock)
359359
guard updatedParseVector.uuids.count > parseVector.uuids.count else {
360360
Logger.pushRevisions.debug("Finished pushing revisions")
361+
await self.remoteStatus.updateClock(parseClock)
361362
await self.remoteStatus.notSynchronzing()
362363
await self.subscribeToRevisionRecord()
363364
DispatchQueue.main.async {

0 commit comments

Comments
 (0)