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

Attempt to analyse database queries done by Document Collection add by title to optimise performance #8673

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

minhngocd
Copy link
Contributor

  • Added a select statement so not everything is pulled in from the editions table
  • Removed document loading from document_collection preload to cut down on 1 query

⚠️ This repo is Continuously Deployed: make sure you follow the guidance ⚠️

Follow these steps if you are doing a Rails upgrade.

…y title to optimise performance

- Added a select statement so not everything is pulled in from the editions table
- Removed document loading from document_collection preload to cut down on 1 query
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.

None yet

1 participant