You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Some sites have rate limits on how many requests can be made in a given time. If enough sources are pointing to the same site the last ones will get rate limited and fail to update.
Describe the solution you'd like
Adding a setting to pause fetch requests for a configurable amount of time when a configurable number of requests have been made to a single domain should eliminate this issue.
Describe alternatives you've considered
Adding a static delay to all fetch requests would also fix the issue, but that would waste a lot of time when there are sources that aren't at risk of being rate limited.
Adding an additional delay option to each individual source would also work, but it would become painful to manage.
Adding a setting to wait a configurable amount of time before retrying once when a 429 response is received is probably the best of these 3 alternatives, but it wouldn't work if the source lets rate limited requests time out instead of responding. Also depending on the site's rate limit policy the user might have to wait multiple minutes if they go over the limit instead of pausing early.
Up-to-the-second unread counts for each active feed.
Poll for these counts no more than once a minute.
[...] not quite sure what the "min 60 secs of waiting" means. One request per minute, maybe?
I mean, that's the maximum frequency of request, but if one wants to do less than that, it should be ok of course. Looks like a preventive measure to not overcharge the server.
Edit: Also .fetchFrequency would not be useful for me in this case anyway, because the server expects the API not to be called, but the RSS sources are separate from the API.
Been thinking about the original issue here (beyond just general "let's do rate limiting"): the fetch sources call is asynchronous, but it takes quite a while. Additionally, as a protection, Fluentflame Reader locks the settings panel during fetching.
Adding a rate limit would make this issue way worse. So I think we need to fix #25 before this.
Activity
CrystalSplitter commentedon Jun 14, 2026
We have some rate limiting already! However, it's not universally applied. I'm working on it expanding its usage (see fetch-pool.js)
Simx72 commentedon Jun 26, 2026
I was going to add rate limit to the newsblur api, as it explicitly states that update requests should be made with min 60 secs of waiting.
However, it'd be hardcoded and not notified to the GUI. Is that ok?I found that there is a .fetchFrequency property in RSSSource, is it for that?
CrystalSplitter commentedon Jun 26, 2026
Could you link to the documentation for this? I need to read it carefully.
Maybe, not quite sure what the "min 60 secs of waiting" means. One request per minute, maybe?
Simx72 commentedon Jun 28, 2026
Yes! In fact, I was talking specifically about the
/reader/refresh_feedsendpoint: https://www.newsblur.com/api#/reader/refresh_feeds. Quoting:I mean, that's the maximum frequency of request, but if one wants to do less than that, it should be ok of course. Looks like a preventive measure to not overcharge the server.
Edit: Also
.fetchFrequencywould not be useful for me in this case anyway, because the server expects the API not to be called, but the RSS sources are separate from the API.CrystalSplitter commentedon Jun 28, 2026
Ah, a FetchPool of size
1with refill rate of1/60would satisfy this. Keep in mind thatawaiting on it may mean waiting for a full minute.CrystalSplitter commentedon Jul 2, 2026
Been thinking about the original issue here (beyond just general "let's do rate limiting"): the fetch sources call is asynchronous, but it takes quite a while. Additionally, as a protection, Fluentflame Reader locks the settings panel during fetching.
Adding a rate limit would make this issue way worse. So I think we need to fix #25 before this.