Skip to content
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

Limit the delay for an update to "in one day" #3015

Merged
merged 2 commits into from
Jan 2, 2025
Merged

Conversation

Grotax
Copy link
Member

@Grotax Grotax commented Dec 31, 2024

Summary

The calculations feed-io does can lead to high values that would delay the next update for too long.
Maybe the calculations done in feed-io could be improved but this provides a simple fix by limiting the delay to maximum one day.

Adds SLEEPY_DURATION to FetcherConfig and use it for the nextUpdateTime calculation.

#3013

Checklist

@Grotax Grotax changed the title L Limit the delay for an update to "in one day" Dec 31, 2024
@Grotax Grotax force-pushed the updater/adjustments branch 2 times, most recently from 9ca0bfd to d45ee0b Compare December 31, 2024 11:58
@Grotax Grotax marked this pull request as draft December 31, 2024 12:18
@Grotax
Copy link
Member Author

Grotax commented Dec 31, 2024

I'm not sure if this had the desired effect since the result for my test feed has changed, I need to check the feed again and think about it.

@Grotax Grotax force-pushed the updater/adjustments branch from e4a00a9 to 993d739 Compare January 2, 2025 09:55
@Grotax Grotax force-pushed the updater/adjustments branch from 993d739 to 73eb5af Compare January 2, 2025 09:59
@Grotax Grotax marked this pull request as ready for review January 2, 2025 09:59
Signed-off-by: Benjamin Brahmer <[email protected]>
@Grotax Grotax merged commit 62a5a10 into master Jan 2, 2025
23 of 24 checks passed
@Grotax Grotax deleted the updater/adjustments branch January 2, 2025 11:03
Grotax added a commit that referenced this pull request Jan 2, 2025
Changed
- Set maximum delay for updates to "in one day" (#3015)
- add an information list for feeds that displays data such as last or next update dates (#3021)

Fixed
- OPML import use text field for title if title field is missing (#3016)

Signed-off-by: Benjamin Brahmer <[email protected]>
@Grotax Grotax mentioned this pull request Jan 2, 2025
Grotax added a commit that referenced this pull request Jan 2, 2025
Changed
- Set maximum delay for updates to "in one day" (#3015)
- add an information list for feeds that displays data such as last or next update dates (#3021)

Fixed
- OPML import use text field for title if title field is missing (#3016)

Signed-off-by: Benjamin Brahmer <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants