Skip to content
This repository was archived by the owner on Sep 10, 2025. It is now read-only.

Avoid pruning state if we see errors.#81

Merged
skx merged 1 commit intomasterfrom
80-prune-on-errors
Mar 3, 2022
Merged

Avoid pruning state if we see errors.#81
skx merged 1 commit intomasterfrom
80-prune-on-errors

Conversation

@skx
Copy link
Copy Markdown
Owner

@skx skx commented Mar 3, 2022

This pull-request updates the processing of the feeds to avoid
pruning our history of recently-seen-state if we received any
errors fetching our feeds.

This is suboptimal, because the local state will continue to grow
if there are broken feeds in our configuration file. However this
is better than constantly renotifying on previously-seen items
when/if transient errors occur.

To solve this properly would require a per-feed directory to maintain
state of entries beneath. We will evolve in that direction but it
will require a migration plan first.

This closes #80.

This pull-request updates the processing of the feeds to avoid
pruning our history of recently-seen-state if we received any
errors fetching our feeds.

This is suboptimal, because the local state will continue to grow
if there are broken feeds in our configuration file.  However this
is better than constantly renotifying on previously-seen items
when/if transient errors occur.

To solve this properly would require a per-feed directory to maintain
state of entries beneath.  We will evolve in that direction but it
will require a migration plan first.

This closes #80.
@skx skx merged commit 033511d into master Mar 3, 2022
@skx skx deleted the 80-prune-on-errors branch March 3, 2022 15:41
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

If httpfetch fails all feed entries become unseen

1 participant