An open page reloads the whole feed list every minute, and settings with it #103
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The page reloads /api/feeds on every scan_done event, and the scheduler runs a scan every minute whether or not any feed is due, so each open page reloads the list once a minute even when nothing was checked. Each loadFeeds also fetches /api/settings, only for the default limit shown in a hint. Seen 2026-09-29: /api/feeds and /api/settings 169 times each in an hour with one person using the site. Fix: refresh on scan_done only when the scan checked a feed (its feeds count); fetch settings once.
Fixed in
7a134b8: the page reloads the feed list on scan_done only when the scan checked a feed, and fetches /api/settings once, on first load. Deployed 2026-09-29 20:29. A tab opened before the deploy keeps the old script (and its once-a-minute reloads) until it is reloaded.