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

Dashboard: little optimization #7281

Merged
merged 2 commits into from
Jul 13, 2020
Merged

Dashboard: little optimization #7281

merged 2 commits into from
Jul 13, 2020

Conversation

stsewd
Copy link
Member

@stsewd stsewd commented Jul 9, 2020

The main one is to first check if there are subprojects
before calling the resolver (4 queries less!)

The main one is to first check if there are subprojects
before calling the resolver (4 queries less!)
@stsewd stsewd requested a review from a team July 10, 2020 00:34
readthedocs/projects/views/mixins.py Outdated Show resolved Hide resolved
@stsewd stsewd merged commit 5390bbc into master Jul 13, 2020
@stsewd stsewd deleted the little-opt-dashboard branch July 13, 2020 18:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants