thunderstore-io / Thunderstore

Thunderstore is a mod database and API for downloading mods. Thunderstore Discord: https://discord.thunderstore.io/
https://thunderstore.io/
GNU Affero General Public License v3.0
138 stars 28 forks source link

Reduce package index building query usage #917

Closed MythicManiac closed 11 months ago

MythicManiac commented 12 months ago

Reduce the amount of queries executed when building the new package index by prefetching related objects. In exchange, this increases the memory consumption.

codecov[bot] commented 12 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (c2ef429) 92.51% compared to head (8f63ef3) 92.51%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #917 +/- ## ======================================= Coverage 92.51% 92.51% ======================================= Files 275 275 Lines 8131 8131 Branches 771 771 ======================================= Hits 7522 7522 Misses 504 504 Partials 105 105 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.