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

Backoff failing RSS feeds #890

Merged
merged 35 commits into from
Feb 20, 2024
Merged

Backoff failing RSS feeds #890

merged 35 commits into from
Feb 20, 2024

Conversation

Half-Shot
Copy link
Contributor

@Half-Shot Half-Shot commented Feb 6, 2024

This should generally help speed up working feeds, by backing off failing ones. This is useful for environments with 1000s of feeds, some of which may have rotted since they were set up. For instance, integrations.ems.host sees about a 5% failure rate at the HTTP level alone.

Leftovers from this PR:

  • Cache backoff times across restarts in Redis. We currently hit all feeds on startup and backoff again. We would need to provide a flush button though.
  • General CPU improvements, now that we're failing less, the CPU is working harder.

@Half-Shot Half-Shot requested a review from a team as a code owner February 6, 2024 12:01
src/util/mod.rs Outdated Show resolved Hide resolved
@Half-Shot Half-Shot force-pushed the hs/add-sensible-rss-backoff branch from e94378c to d0846b1 Compare February 7, 2024 10:24
src/util/mod.rs Show resolved Hide resolved
src/util/mod.rs Show resolved Hide resolved
src/util/mod.rs Show resolved Hide resolved
src/util/mod.rs Show resolved Hide resolved
src/util/mod.rs Outdated Show resolved Hide resolved
@Half-Shot Half-Shot requested a review from AndrewFerr February 20, 2024 00:29
@Half-Shot Half-Shot added this pull request to the merge queue Feb 20, 2024
Merged via the queue into main with commit 387f7c1 Feb 20, 2024
16 checks passed
@Half-Shot Half-Shot deleted the hs/add-sensible-rss-backoff branch February 20, 2024 22:28
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