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

Do not re-query mentions from serializers #6858

Merged
merged 1 commit into from Mar 22, 2018

Conversation

Gargron
Copy link
Member

@Gargron Gargron commented Mar 21, 2018

Mentions were pre-fetched. There's no need to query n+1 times again just to sort them.

Fix performance regression from #6836

Fix performance regression from #6836
@Gargron Gargron added bug Something isn't working priority - critical labels Mar 21, 2018
@Gargron
Copy link
Member Author

Gargron commented Mar 22, 2018

@ThibG

@Gargron Gargron merged commit 9fe1619 into master Mar 22, 2018
@Gargron Gargron deleted the fix-n-query-mentions-regression branch March 22, 2018 10:31
smorimoto pushed a commit to kibousoft/mastodon that referenced this pull request Apr 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant