Commit Graph

2 Commits

Author SHA1 Message Date
sulthan e966182e6f fix: address final-review findings on the latest-chapter poller
Wires the five poll env vars into docker-compose (the documented kill
switch was inert), skips fetching unknown sites and non-https URLs
before spending a request, and makes runOnce's summary log fire on
empty and cancelled ticks. Records the accepted non-atomic Get+Upsert
window and the one-interval startup delay in the docs.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-07-26 18:18:11 +07:00
sulthan 3211b5b42f feat: background poller for latest published chapter
Ticker goroutine reads bookmarks past their per-bookmark cooldown,
fetches the series page, and writes latest_chapter through Get+Upsert
so updated_at never moves and the list never reorders. The row is
stamped before the fetch so a broken series waits out a cooldown
instead of retrying every tick.
2026-07-26 15:40:17 +07:00