From 23a26e98b26bb4e856ae860b10ba1ae9428f1df1 Mon Sep 17 00:00:00 2001 From: Leonz Date: Fri, 6 Oct 2023 08:44:28 +0800 Subject: [PATCH] m: change Executor grow_pool fn error span to tracing span --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index c9ff559..0c4647b 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -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,