mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2026-11-29 08:42:51 +00:00
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:
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)")
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user