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

perf: Determine participant status more efficiently #3364

Draft
wants to merge 1 commit into
base: stable-5
Choose a base branch
from

Conversation

ChristophWurst
Copy link
Member

This makes one of the N+1 queries of #3362 more efficient.

Before: load all votes of the poll, create entity objects and then do a count
After: count in the database

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants