Skip to content

perf(storage): fetch enclosures in GetEntries in GetEntry#4321

Draft
jvoisin wants to merge 1 commit into
miniflux:mainfrom
jvoisin:encl
Draft

perf(storage): fetch enclosures in GetEntries in GetEntry#4321
jvoisin wants to merge 1 commit into
miniflux:mainfrom
jvoisin:encl

Conversation

@jvoisin

@jvoisin jvoisin commented May 12, 2026

Copy link
Copy Markdown
Collaborator

GetEntry() was issuing a separate GetEnclosures() query for the single returned entry. The batch path already exists: fetchEntries() checks the fetchEnclosures flag and calls GetEnclosuresForEntries() in one round-trip.

Set fetchEnclosures=true so GetEntry() uses that path, removing one database round-trip per call.

GetEntry() was issuing a separate GetEnclosures() query for the single
returned entry. The batch path already exists: fetchEntries() checks the
fetchEnclosures flag and calls GetEnclosuresForEntries() in one round-trip.

Set fetchEnclosures=true so GetEntry() uses that path, removing one
database round-trip per call.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant