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

Update waiting list placement calculation for more performant backend #5141

Merged
merged 1 commit into from
Nov 4, 2024

Conversation

eikhr
Copy link
Member

@eikhr eikhr commented Nov 4, 2024

Description

Appearently my code in webkom/lego#3642 caused "significant performance issues" and "increased loading times" on the event detail page. This is true, my bad.

I believe the issue getting the fairly expensive inherited groups for each person in the waiting list. Instead we can just get child-groups for all the applicable groups in the pools. This should be cheaper because there are fewer pools.

Result

No visual changes

Testing

  • I have thoroughly tested my changes.

Please describe what and how the changes have been tested, and provide instructions to reproduce if necessary.


Resolves ... (either GitHub issue or Linear task)

Copy link

vercel bot commented Nov 4, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
lego-bricks-storybook ⬜️ Ignored (Inspect) Nov 4, 2024 7:53am

@github-actions github-actions bot added the review-needed Pull requests that need review label Nov 4, 2024
Copy link
Member

@ivarnakken ivarnakken left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😄

@ivarnakken ivarnakken added the approved Pull requests that have been approved label Nov 4, 2024
Copy link
Member

@jonasdeluna jonasdeluna left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome! 🚀

@eikhr eikhr merged commit 9d527e1 into master Nov 4, 2024
6 checks passed
@eikhr eikhr deleted the fix-performance-issue-on-events-page branch November 4, 2024 09:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Pull requests that have been approved review-needed Pull requests that need review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants