The feed list asks the database three times per feed in a Patreon or OPML group for the group's title #159
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?
Found in a code audit on 2026-10-09.
subscriptions()(src/main.rs:1265-1268) builds the scan's and the page's list of feeds. For every feed derived from an OPML or a Patreon creator whose parent has no folder, it callsfeed_summaryon the parent, three queries, to read the parent's title: the same title for every child. Production has 32 such children (the-glass-cannon-network), so about 96 queries each time it runs: every/api/feeds(280 ms in production), every live update the page receives for a feed (once per open page), every scan and every wait between scans, the Directory, adding a feed.Fix: look each parent's title up once per call.
Fixed in
dc340dd: subscriptions() looks each group's title up once per call. /api/feeds measured 0.30 s after, against 0.28 s before: these queries were not where its time goes. Deployed as 0.10.3-dev on 2026-10-09.