Assign custom names to the Rayon global thread pool
This commit is contained in:
parent
9daa41024d
commit
7bdeea10ad
|
@ -425,6 +425,14 @@ impl Validator {
|
|||
info!("entrypoint: {:?}", cluster_entrypoint);
|
||||
}
|
||||
|
||||
if rayon::ThreadPoolBuilder::new()
|
||||
.thread_name(|ix| format!("solRayonGlob{:02}", ix))
|
||||
.build_global()
|
||||
.is_err()
|
||||
{
|
||||
warn!("Rayon global thread pool already initialized");
|
||||
}
|
||||
|
||||
if solana_perf::perf_libs::api().is_some() {
|
||||
info!("Initializing sigverify, this could take a while...");
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue