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

Memoize cfs activated in project to avoid n+1 #17034

Merged
merged 1 commit into from
Oct 24, 2024

Conversation

ulferts
Copy link
Contributor

@ulferts ulferts commented Oct 24, 2024

What are you trying to accomplish?

Avoid barrage of similar SQL statements when rendering a work package index page

image

What approach did you choose and why?

This is a drive by fix and I did not look into whether there are better, less local, options. Using the request store a request is only carried out once.

@ulferts ulferts marked this pull request as ready for review October 24, 2024 13:44
@oliverguenther oliverguenther merged commit 50f612e into dev Oct 24, 2024
11 checks passed
@oliverguenther oliverguenther deleted the bug/memoize_custom_field_activated_in_project branch October 24, 2024 16:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

2 participants