Stop the Feedly status refresh at a rate-limit error instead of starting the starred walk into an active ban.

This commit is contained in:
Brent Simmons committed 2026-08-03 14:35:48 -07:00
1 parent 7a4ab6e718
commit f2c3e2f380
1 file changed
+4
@@ -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)")
}