Skip to content

Commit

Permalink
m: change Executor grow_pool fn error span to tracing span
Browse files Browse the repository at this point in the history
  • Loading branch information
leonzchang authored Oct 6, 2023
1 parent c3b5e01 commit 23a26e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ impl Executor {

/// Spawns more blocking threads if the pool is overloaded with work.
fn grow_pool(&'static self, mut inner: MutexGuard<'static, Inner>) {
let span = tracing::error_span!(
let span = tracing::trace_span!(
"grow_pool",
queue_len = inner.queue.len(),
idle_count = inner.idle_count,
Expand Down

0 comments on commit 23a26e9

Please sign in to comment.