Skip to content

Commit

Permalink
fix(bandwidth_scheduler) - enter tracing span (#12699)
Browse files Browse the repository at this point in the history
Creating a tracing span doesn't do anything by itself, you have to enter
it as well.
  • Loading branch information
jancionear authored Jan 8, 2025
1 parent e92fef2 commit cd21498
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion runtime/runtime/src/bandwidth_scheduler/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ pub fn run_bandwidth_scheduler(
target: "runtime",
"run_bandwidth_scheduler",
height = apply_state.block_height,
shard_id = ?apply_state.shard_id);
shard_id = ?apply_state.shard_id)
.entered();

// Read the current scheduler state from the Trie
let mut scheduler_state = match get_bandwidth_scheduler_state(state_update)? {
Expand Down

0 comments on commit cd21498

Please sign in to comment.