From 33ecf4ec5bee0ef65ba040ad43bfb0ffffe66992 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 a1a1f1070..41f42bc4d 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 {