Skip to content

feat: back off repeatedly failing feeds - #2258

Merged
fengkx merged 1 commit into
masterfrom
codex/feed-failure-backoff
Nov 10, 2026
Merged

fengkx merged 1 commit into
masterfrom
codex/feed-failure-backoff

Conversation

@fengkx

@fengkx fengkx commented Nov 10, 2026

Copy link
Copy Markdown
Owner

Record a feed failure and return its updated count in one database query. After repeated failures, schedule retries at 2, 4, and 8 times the configured fetch interval. Apply the retry delay with either TTL setting and reset the count on a successful response or HTTP 304.

Database errors propagate separately so they do not delay healthy feeds.

Verification

  • Full Jest suite (147 tests), build, and lint passed locally.
  • Ran the 10 backoff integration cases on SQLite and PostgreSQL 16 with the Node process in Asia/Shanghai.

@fengkx
fengkx merged commit a879be9 into master Nov 10, 2026
6 checks passed
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.

1 participant