diff --git a/Modules/Account/Sources/Account/Feedly/FeedlyAccountDelegate.swift b/Modules/Account/Sources/Account/Feedly/FeedlyAccountDelegate.swift index 09afac494..23f75ebd4 100644 --- a/Modules/Account/Sources/Account/Feedly/FeedlyAccountDelegate.swift +++ b/Modules/Account/Sources/Account/Feedly/FeedlyAccountDelegate.swift @@ -1138,6 +1138,11 @@ private extension FeedlyAccountDelegate { await account.markAsUnreadAsync(articleIDs: result.newUnreadArticleIDs) } } catch { + // Arm the limiter and stop the rotation — refreshing more feeds would extend the ban. + if rateLimiter.isRateLimitError(error) { + rateLimiter.noteRateLimited(error, account: account, operation: "Refreshing feed \(feed.nameForDisplay)") + break + } account.postSyncError(error, operation: "Refreshing feed \(feed.nameForDisplay)") } }