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

Fix cartesian explosion in pref loading #32434

Merged

Conversation

PJB3005
Copy link
Member

@PJB3005 PJB3005 commented Sep 24, 2024

Lol .AsSingleQuery().

Some people's preferences wouldn't load on Lizard. Turns out the entire preferences set is loaded with a morbillion joins in a single query and one person had 240,000 (!!!) rows returned for their preferences query. Yeah.

🆑

  • fix: Fixed some people's preferences taking ages to load, hopefully.

Lol .AsSingleQuery().

Some people's preferences wouldn't load on Lizard. Turns out the entire preferences set is loaded with a morbillion joins in a single query and one person had 240,000 (!!!) rows returned for their preferences query. Yeah.
@PJB3005 PJB3005 merged commit e36d735 into space-wizards:master Sep 24, 2024
12 checks passed
@PJB3005 PJB3005 deleted the 24-09-24-descartes-pissed-on-my-wife branch September 24, 2024 20:43
Ilya246 pushed a commit to Ilya246/space-station-14 that referenced this pull request Oct 7, 2024
Lol .AsSingleQuery().

Some people's preferences wouldn't load on Lizard. Turns out the entire preferences set is loaded with a morbillion joins in a single query and one person had 240,000 (!!!) rows returned for their preferences query. Yeah.
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.

1 participant