Skip to content
Snippets Groups Projects
Unverified Commit c038933d authored by Tobias Bieniek's avatar Tobias Bieniek Committed by GitHub
Browse files

crates: Use `?include=` to reduce crates.io backend load (#9081)

By default the `/crates/:crate_name` API endpoint returns the categories and keywords related to the crates. Unfortunately this causes two additional database queries on the crates.io backend.

This commit change the request URL to use `?include=` to only include the additional metadata that is needed for the requested badges.
parent 148b51d5
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment