Skip to content

Commit e8281e8

Browse files
goffrieConvex, Inc.
authored andcommitted
move fastrace::trace from AsyncLru::get_sync to wait_for_value (#43785)
GitOrigin-RevId: 2a409858a84d2d08b57bfe9748410a6af8addf45
1 parent 54c8477 commit e8281e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/async_lru/src/async_lru.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,6 @@ impl<
379379
}
380380
}
381381

382-
#[fastrace::trace]
383382
fn get_sync(
384383
&self,
385384
key: &Key,
@@ -428,6 +427,7 @@ impl<
428427
}
429428
}
430429

430+
#[fastrace::trace]
431431
async fn wait_for_value(
432432
key: &Key,
433433
mut receiver: async_broadcast::Receiver<BuildValueResult<Value>>,

0 commit comments

Comments
 (0)