An open page reloads the whole feed list every minute, and settings with it #103

Closed
opened 2026-09-29 13:11:11 -07:00 by rays · 1 comment
Owner

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.

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.
rays added the bug label 2026-09-29 13:11:11 -07:00
Author
Owner

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.

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.
rays closed this issue 2026-09-29 13:34:35 -07:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: rays/ipx#103