##// END OF EJS Templates
rust-status: fix thread count ceiling...
Raphaël Gomès -
r51052:c5243582 stable
parent child Browse files
Show More
@@ -56,7 +56,7 b" pub fn status<'dirstate>("
56 56 // instantiated in `rhg` or some other caller.
57 57 // TODO find the underlying cause and fix it, then remove this.
58 58 rayon::ThreadPoolBuilder::new()
59 .num_threads(16)
59 .num_threads(16.min(rayon::current_num_threads()))
60 60 .build_global()
61 61 .ok();
62 62
General Comments 0
You need to be logged in to leave comments. Login now