Use std::thread::available_parallelism()
instead of num_cpus
#6432
Labels
A-tokio
Area: The main tokio crate
C-feature-request
Category: A feature request.
M-runtime
Module: tokio/runtime
S-blocked
Status: marked as blocked ❌ on something else such as a PR or other implementation work.
S-blocked-on-msrv
Status: need an MSRV bump to progress
Once we bump our MSRV to 1.64 or greater, we should replace our usage of num-cpus with the
std::thread::available_parallelism()
method.Previous issue: #6211.
The text was updated successfully, but these errors were encountered: