mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-04-08 03:01:12 -04:00
docs: rm 8MB stack size comment in BlockingTaskPool (#18616)
This commit is contained in:
@@ -69,8 +69,9 @@ impl BlockingTaskPool {
|
||||
|
||||
/// Convenience function to build a new threadpool with the default configuration.
|
||||
///
|
||||
/// Uses [`rayon::ThreadPoolBuilder::build`](rayon::ThreadPoolBuilder::build) defaults but
|
||||
/// increases the stack size to 8MB.
|
||||
/// Uses [`rayon::ThreadPoolBuilder::build`](rayon::ThreadPoolBuilder::build) defaults.
|
||||
/// 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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user