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

Add tags to prefetch_related to reduce query load #2437

Closed
wants to merge 1 commit into from

Conversation

remyleone
Copy link
Contributor

@remyleone remyleone commented Sep 17, 2018

Fixes: #2438

Device listing took a very long time for a large number of devices.
This patch reduces the number of SQL queries.

@jeremystretch
Copy link
Member

jeremystretch commented Oct 3, 2018

Sorry, ended up making this change for a bunch of API querysets in aed2a3c.

@remyleone remyleone deleted the tag_missing branch October 3, 2018 15:14
@lock lock bot locked as resolved and limited conversation to collaborators Jan 16, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

API optimizations for tagged objects
2 participants