Skip to content
Snippets Groups Projects
Commit eaccde2d authored by Pierre Krieger's avatar Pierre Krieger Committed by GitHub
Browse files

Add names to offchain worker threads (#8820)

* Add names to offchain worker threads

* Compilation
parent 22c60a63
No related merge requests found
......@@ -94,7 +94,7 @@ impl<Client, Block: traits::Block> OffchainWorkers<Client, Block> {
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,
}
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment