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

Feature/querry optimisation #2

Closed
wants to merge 1 commit into from

Conversation

DaniCerega
Copy link
Owner

Fixes: AACraiu#1

Changes

The changed code is preloading the scores of all the users in the controller, generating 2 queries instead of one for each score.

Before

Screenshot before the change.
Screenshot 2022-01-03 at 14 51 05

After

Screenshot after the change.
Screenshot 2022-01-03 at 14 51 21

@DaniCerega DaniCerega changed the base branch from main to develop January 3, 2022 12:57
@DaniCerega DaniCerega closed this Jan 3, 2022
@DaniCerega DaniCerega deleted the feature/querry_optimisation branch January 3, 2022 13:21
@DaniCerega DaniCerega restored the feature/querry_optimisation branch January 3, 2022 13:21
@DaniCerega DaniCerega deleted the feature/querry_optimisation branch January 3, 2022 13:22
@DaniCerega DaniCerega restored the feature/querry_optimisation branch January 3, 2022 13:22
@DaniCerega DaniCerega reopened this Jan 3, 2022
@DaniCerega DaniCerega closed this Jan 3, 2022
@DaniCerega DaniCerega deleted the feature/querry_optimisation branch January 3, 2022 13:31
@DaniCerega DaniCerega restored the feature/querry_optimisation branch January 3, 2022 13:31
@DaniCerega DaniCerega deleted the feature/querry_optimisation branch January 3, 2022 13:32
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.

Improve scores feed performance
1 participant