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

Optimize database queries #40

Open
dansaa8 opened this issue Dec 21, 2023 · 0 comments · May be fixed by #51
Open

Optimize database queries #40

dansaa8 opened this issue Dec 21, 2023 · 0 comments · May be fixed by #51
Assignees
Labels
enhancement New feature or request

Comments

@dansaa8
Copy link

dansaa8 commented Dec 21, 2023

Solve n+1 problem when requesting tasks. As it is now, everytime someone requests a Task, a new database query for Category and Tag are made for each Task (unless they've already been found and cached and thus will be re-used).

@dansaa8 dansaa8 added the enhancement New feature or request label Dec 21, 2023
@dansaa8 dansaa8 self-assigned this Dec 21, 2023
@dansaa8 dansaa8 linked a pull request Jan 5, 2024 that will close this issue
This was referenced Jan 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant