mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-04-30 03:01:58 -04:00
chore(revert): add tokio runtime with custom thread naming (#18670)
This commit is contained in:
@@ -73,7 +73,7 @@ impl BlockingTaskPool {
|
||||
/// If a different stack size or other parameters are needed, they can be configured via
|
||||
/// [`rayon::ThreadPoolBuilder`] returned by [`Self::builder`].
|
||||
pub fn build() -> Result<Self, rayon::ThreadPoolBuildError> {
|
||||
Self::builder().thread_name(|i| format!("rayon-{i}")).build().map(Self::new)
|
||||
Self::builder().build().map(Self::new)
|
||||
}
|
||||
|
||||
/// Asynchronous wrapper around Rayon's
|
||||
|
||||
Reference in New Issue
Block a user