From eb09940e6b59a320fcc6d21dd40d034e5e79b30a Mon Sep 17 00:00:00 2001 From: Brent Simmons Date: Mon, 3 Aug 2026 15:14:28 -0700 Subject: [PATCH] Count only new articles in the Feedly download summary instead of every entry returned. --- .../Sources/Account/Feedly/FeedlyAccountDelegate.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Modules/Account/Sources/Account/Feedly/FeedlyAccountDelegate.swift b/Modules/Account/Sources/Account/Feedly/FeedlyAccountDelegate.swift index 46e1214b5..23dc52572 100644 --- a/Modules/Account/Sources/Account/Feedly/FeedlyAccountDelegate.swift +++ b/Modules/Account/Sources/Account/Feedly/FeedlyAccountDelegate.swift @@ -1108,8 +1108,8 @@ private extension FeedlyAccountDelegate { } for chunk in chunks.prefix(Self.maxArticleDownloadChunksPerSync) { let entries = try await account.logRefreshPage(kind: .refreshMissingArticles, message: { "\($0.count) articles" }, { try await self.caller.getEntries(for: Set(chunk)) }) - await self.ingest(entries: entries, into: account) - ingested += entries.count + let pageResult = await self.ingest(entries: entries, into: account) + ingested += pageResult.newArticleCount } return ingested }