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

fix: resolve outstanding N+1 issues #3066

Merged
merged 7 commits into from
Nov 30, 2023
Merged

fix: resolve outstanding N+1 issues #3066

merged 7 commits into from
Nov 30, 2023

Conversation

matthewelwell
Copy link
Contributor

Changes

Resolves outstanding N+1 issues as observed in Sentry:

How did you test this code?

Added unit tests for each case and verified that, without the fix, the number of queries increased proportionately to the additional entities.

@matthewelwell matthewelwell requested review from a team and zachaysan and removed request for a team November 29, 2023 21:32
Copy link

vercel bot commented Nov 29, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 30, 2023 5:50pm
flagsmith-frontend-preview ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 30, 2023 5:50pm
flagsmith-frontend-staging ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 30, 2023 5:50pm

@github-actions github-actions bot added the api Issue related to the REST API label Nov 29, 2023
Copy link
Contributor

github-actions bot commented Nov 29, 2023

Uffizzi Preview deployment-41782 was deleted.

@codecov-commenter
Copy link

codecov-commenter commented Nov 30, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (65f78f7) 95.89% compared to head (ec78817) 95.89%.
Report is 9 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3066      +/-   ##
==========================================
- Coverage   95.89%   95.89%   -0.01%     
==========================================
  Files        1039     1039              
  Lines       30688    30742      +54     
==========================================
+ Hits        29429    29480      +51     
- Misses       1259     1262       +3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@zachaysan zachaysan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some questions but approved!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api Issue related to the REST API
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants