Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reduce N+1 database queries #2085

Merged
merged 15 commits into from Apr 24, 2024
Merged

Reduce N+1 database queries #2085

merged 15 commits into from Apr 24, 2024

Conversation

Floppy
Copy link
Collaborator

@Floppy Floppy commented Apr 24, 2024

Uses bullet and strict loading checks to add in a load of eager loading. Should reduce N+1 queries, and at least partly resolve #2073 . There will be more, this isn't everything, but I want to get it out for testing

@Floppy Floppy added improvement Refactors and behind-the-scenes improvements performance Speedy go fast labels Apr 24, 2024
@Floppy Floppy enabled auto-merge April 24, 2024 11:34
Copy link

codeclimate bot commented Apr 24, 2024

Code Climate has analyzed commit ae05844 and detected 3 issues on this pull request.

Here's the issue category breakdown:

Category Count
Duplication 2
Security 1

The test coverage on the diff in this pull request is 81.2% (50% is the threshold).

This pull request will bring the total coverage in the repository to 87.0% (0.0% change).

View more on Code Climate.

@Floppy Floppy merged commit 4f0dfbd into main Apr 24, 2024
10 checks passed
@Floppy Floppy deleted the bullet branch April 24, 2024 11:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement Refactors and behind-the-scenes improvements performance Speedy go fast
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Reduce number of database queries
1 participant