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

Squash some version queries #1225

Merged
merged 2 commits into from
May 7, 2023
Merged

Conversation

Rushmead
Copy link
Contributor

@Rushmead Rushmead commented May 7, 2023

A few small changes that squash a few queries to improve performance.

Firstly the getDownloads call by joining the two tables we're able to remove the prior query to grab all of the downloads for this version.

Secondly, by adding the platform into the PluginDependency class we can remove the need to query for the plugin dependencies of each platform individually.

Hopefully will produce some small savings on requests.

@MiniDigger MiniDigger merged commit d1ff0a7 into HangarMC:staging May 7, 2023
@MiniDigger MiniDigger mentioned this pull request May 7, 2023
5 tasks
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.

2 participants