We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 59eea6c commit d9119d0Copy full SHA for d9119d0
src/web/rustdoc.rs
@@ -187,6 +187,8 @@ pub(crate) async fn rustdoc_redirector_handler(
187
.await?
188
.ok_or(AxumNope::ResourceNotFound)?;
189
190
+ rendering_time.step("fetch from storage");
191
+
192
match spawn_blocking({
193
let version = version.clone();
194
let storage = storage.clone();
@@ -492,6 +494,10 @@ pub(crate) async fn rustdoc_html_server_handler(
492
494
493
495
trace!(?storage_path, ?req_path, "try fetching from storage");
496
497
+ // record the data-fetch step
498
+ // until we re-add it below inside `fetch_rustdoc_file`
499
500
501
// Attempt to load the file from the database
502
let blob = match spawn_blocking({
503
let params = params.clone();
0 commit comments