Skip to content

Conversation

@syphar
Copy link
Member

@syphar syphar commented Mar 1, 2024

While working on #2383 I realized that we were fetching all releases for a crate twice, once in match_version, once when fetching CrateDetails.

This is the fix, should make some endpoints a little faster:

  • rustdoc pages
  • rustdoc redirector
  • target redirect
  • crate details

@syphar syphar requested a review from a team as a code owner March 1, 2024 07:05
@github-actions github-actions bot added the S-waiting-on-review Status: This pull request has been implemented and needs to be reviewed label Mar 1, 2024
@syphar syphar force-pushed the dont-fetch-releases-twice branch 2 times, most recently from 6743bc5 to 03c4977 Compare March 1, 2024 07:15
Copy link
Member

@GuillaumeGomez GuillaumeGomez left a comment

Choose a reason for hiding this comment

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

Sounds pretty nice! Please wait for @Nemo157's review before merging.

@syphar syphar requested a review from Nemo157 March 1, 2024 09:42
@syphar syphar force-pushed the dont-fetch-releases-twice branch from 03c4977 to 63ac89a Compare March 1, 2024 11:57
@syphar syphar requested a review from Nemo157 March 1, 2024 12:07
@syphar syphar merged commit 045ae1c into rust-lang:master Mar 1, 2024
@syphar syphar deleted the dont-fetch-releases-twice branch March 1, 2024 12:29
@github-actions github-actions bot added S-waiting-on-deploy This PR is ready to be merged, but is waiting for an admin to have time to deploy it and removed S-waiting-on-review Status: This pull request has been implemented and needs to be reviewed labels Mar 1, 2024
@syphar syphar removed the S-waiting-on-deploy This PR is ready to be merged, but is waiting for an admin to have time to deploy it label Mar 1, 2024
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.

3 participants