-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The default NewsFeed module does not respect the rss TTL value #2883
Comments
you mean too frequent? ('too high', but actually too low, number) |
sorry, yes |
what do you mean with "support this". The ttl value is accessible in the module, so we could do something, but what? Should we increase the updateInterval if it is below ttl? |
Yeah, essentially. |
reloadInterval is already a configurable option, default 5 mins. anyone could change it in their config. it could be overridden by the feed ttl |
the above PR uses now ttl for reloadInterval if submitted by the feed (and if < 24h as mentioned in the docs). The default reloadInterval is not changed, because I think this is not necassary. You can set a reloadInterval globally for the newsfeed module and for each feed (which should be sufficient). Changing the default value would affect all installations which rely on the current defaults. |
thank you for logging that Feed TTL overrides the config option |
fixed in new release v2.21.0, should be closed @bootstrap-prime @MichMich |
I found a bug in MagicMirror
Browser: Firefox
Hardware: Linux, NixOS
Node version: v16.15.0
MagicMirror: v2.20.0
Description:
The default NewsFeed module does not respect the rss TTL (time-to-live) value. Providers can set this to request that feed readers check every N minutes, which can ease strain on their services. (See xeiaso.net for an example of a provider that sets this ttl value).
It would be helpful if MagicMirror supported this.
Also, the default reloadInterval is too high - a more reasonable default would be every 30ish minutes.
The text was updated successfully, but these errors were encountered: