mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2026-11-29 16:54:12 +00:00
Count only new articles in the Feedly download summary instead of every entry returned.
This commit is contained in:
1 parent
d292e1023b
commit
eb09940e6b
1 file changed
+2
-2
@@ -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
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user