blob: 62ed3fc678fe584da4a3c294611a7222b2da661b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
--- lib/wasix/src/runtime/task_manager/tokio.rs.orig 2023-10-04 17:50:14 UTC
+++ lib/wasix/src/runtime/task_manager/tokio.rs
@@ -58,7 +58,7 @@ impl TokioTaskManager {
let concurrency = std::thread::available_parallelism()
.unwrap_or(NonZeroUsize::new(1).unwrap())
.get();
- let max_threads = 200usize.max(concurrency * 100);
+ let max_threads = concurrency;
Self {
rt: rt.into(),
|