1
0
Fork 0
mirror of https://github.com/miniflux/v2.git synced 2025-10-05 19:31:01 +00:00

feat(feed): use exponential backoff for broken feeds

Instead of having a hard limit of 3 (regular) tries for feeds with errors, use
an exponential backoff by default, with an upper-limit of one week.

See https://github.com/miniflux/v2/issues/3334 for context/discussions.
This commit is contained in:
jvoisin 2025-09-30 16:44:36 +02:00
parent 8adcaed29e
commit 63b1279792
4 changed files with 16 additions and 5 deletions

View file

@ -489,8 +489,8 @@ func NewConfigOptions() *configOptions {
},
},
"POLLING_PARSING_ERROR_LIMIT": {
ParsedIntValue: 3,
RawValue: "3",
ParsedIntValue: 0,
RawValue: "0",
ValueType: intType,
Validator: func(rawValue string) error {
return validateGreaterOrEqualThan(rawValue, 0)