diff --git a/substrate/client/offchain/src/lib.rs b/substrate/client/offchain/src/lib.rs index 26975edbd6..9879b85728 100644 --- a/substrate/client/offchain/src/lib.rs +++ b/substrate/client/offchain/src/lib.rs @@ -94,7 +94,7 @@ impl OffchainWorkers { Self { client, _block: PhantomData, - thread_pool: Mutex::new(ThreadPool::new(num_cpus::get())), + thread_pool: Mutex::new(ThreadPool::with_name("offchain-worker".into(), num_cpus::get())), shared_client, } }