From f2c3e2f380736ba9a1103554ac8d61c3ea8ca2c8 Mon Sep 17 00:00:00 2001 From: Brent Simmons Date: Mon, 3 Aug 2026 14:35:48 -0700 Subject: [PATCH] Stop the Feedly status refresh at a rate-limit error instead of starting the starred walk into an active ban. --- .../Sources/Account/Feedly/FeedlyAccountDelegate.swift | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Modules/Account/Sources/Account/Feedly/FeedlyAccountDelegate.swift b/Modules/Account/Sources/Account/Feedly/FeedlyAccountDelegate.swift index 117cd8d03..09afac494 100644 --- a/Modules/Account/Sources/Account/Feedly/FeedlyAccountDelegate.swift +++ b/Modules/Account/Sources/Account/Feedly/FeedlyAccountDelegate.swift @@ -453,6 +453,10 @@ import Secrets counts.unreadAdded = unread.added counts.unreadRemoved = unread.removed } catch { + // Don’t start the starred walk into an active rate limit — up to 40 more requests. + if rateLimiter.isRateLimitError(error) { + throw error + } refreshError = error Self.logger.error("Feedly: Ingesting unread article IDs failed: \(error.localizedDescription)") }