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

Improve scores feed performance #1 #2

Merged
merged 1 commit into from
Dec 22, 2022

Conversation

Stef-Moisanu
Copy link
Owner

Fixes: Improve scores feed performance

Changes

Switched to eager loading for scores in order to fix the N+1 problem where a query was executed to get scores for each single user.

Before

Screenshot 2022-12-19 at 12 28 47

After

Screenshot 2022-12-19 at 12 29 34

@Stef-Moisanu Stef-Moisanu merged commit c75609e into main Dec 22, 2022
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