max threads to 48

This commit is contained in:
2022-05-05 20:41:20 +02:00
parent 8a6b686490
commit b6d07d4d3c
+1 -1
View File
@@ -81,7 +81,7 @@ impl Population {
let mut stats: [i32; 4] = [0, 0, 0, 0]; let mut stats: [i32; 4] = [0, 0, 0, 0];
let num_threads = num_threads.unwrap_or(1); let num_threads = num_threads.unwrap_or(1);
if num_threads > 8 { if num_threads > 48 {
panic!("too many threads") panic!("too many threads")
} }