From 634d728ebed00fa2d3f0e3e382ebef69b6bfd8da Mon Sep 17 00:00:00 2001 From: Maurice Parker Date: Fri, 9 Jul 2021 11:56:05 -0500 Subject: [PATCH] Stop processing when we don't return status records. --- .../Account/CloudKit/CloudKitSendStatusOperation.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Account/Sources/Account/CloudKit/CloudKitSendStatusOperation.swift b/Account/Sources/Account/CloudKit/CloudKitSendStatusOperation.swift index ecffb9689..6592ae7c1 100644 --- a/Account/Sources/Account/CloudKit/CloudKitSendStatusOperation.swift +++ b/Account/Sources/Account/CloudKit/CloudKitSendStatusOperation.swift @@ -131,10 +131,10 @@ private extension CloudKitSendStatusOperation { // If this happens, we have somehow gotten into a state where we have new status records // but the articles didn't come back in the fetch. We need to clean up those sync records - // and continue processing. + // and stop processing. if statusUpdates.isEmpty { self.database.deleteSelectedForProcessing(articleIDs) { _ in - done(false) + done(true) return } } else {