mirror of https://github.com/smol-rs/blocking
m: change Executor grow_pool fn error span to tracing span
This commit is contained in:
parent
c3b5e01b3c
commit
23a26e98b2
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue