chore: shorten thread names (#21751)

This commit is contained in:
DaniPopes
2026-02-03 17:40:35 +01:00
committed by GitHub
parent 3722071a7c
commit 9621b78586
3 changed files with 7 additions and 3 deletions

View File

@@ -236,7 +236,7 @@ impl LaunchContext {
.map_or(0, |num| num.get().saturating_sub(reserved_cpu_cores).max(1));
if let Err(err) = ThreadPoolBuilder::new()
.num_threads(num_threads)
.thread_name(|i| format!("reth-rayon-{i}"))
.thread_name(|i| format!("rayon-{i}"))
.build_global()
{
warn!(%err, "Failed to build global thread pool")