m: change Executor grow_pool fn error span to tracing span

This commit is contained in:
Leonz 2023-10-06 08:44:28 +08:00 committed by GitHub
parent c3b5e01b3c
commit 23a26e98b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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,