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(world): implement eager loading, refactor queries #1180

Merged
merged 1 commit into from
Jan 6, 2025

Conversation

itinerare
Copy link
Collaborator

  • only load extra item info (artists, shops) if extra fields are enabled
  • add "with" property to relevant models

More performance improvements, this time targeting /world; not half as much to do here (vs galleries), but still surprisingly meaningful. Mostly adding eager loading and especially conditional eager loading (for bundled exts) and generally only performing queries if necessary.

- only load extra item info (artists, shops) if extra fields are enabled
- add "with" property to relevant models
@itinerare itinerare added the needs review Pull requests that are pending community review label Jan 6, 2025
@itinerare itinerare added reviewed Pull requests that have received community review and are pending merge and removed needs review Pull requests that are pending community review labels Jan 6, 2025
@itinerare itinerare merged commit b1a146b into corowne:release/v3.0.0 Jan 6, 2025
2 checks passed
@itinerare itinerare deleted the push-wtxssuxwsumk branch January 6, 2025 20:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
reviewed Pull requests that have received community review and are pending merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants