Skip to content

Make front page db query load all funds and labs to be listed directly, no N+1 - #5080

Open
frjo wants to merge 1 commit into
mainfrom
enhancement/improve-db-query-front-page
Open

frjo wants to merge 1 commit into
mainfrom
enhancement/improve-db-query-front-page

Conversation

@frjo

@frjo frjo commented Nov 28, 2026 •

Copy link
Copy Markdown
Member

Notices sentry issues complaining about n+1 queries for the front page. This PR produce the same result on the front page with a lot fewer db queries. On my local setup they dropped from 60 to 20.

@frjo frjo added Type: Enhancement This is an improvement of an existing thing (not a new thing, which would be a feature). Type: Patch Mini change, used in release drafter labels Nov 30, 2026
@frjo
frjo force-pushed the enhancement/improve-db-query-front-page branch from e23ab09 to 57eb598 Compare November 30, 2026 12:48
@frjo
frjo requested a review from wes-otf November 30, 2026 13:32

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Type: Enhancement This is an improvement of an existing thing (not a new thing, which would be a feature). Type: Patch Mini change, used in release drafter

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant