refactor: test with MT disabled

This commit is contained in:
Alivecow 2024-11-30 21:16:47 +01:00
parent 7fa3586e49
commit e2ef29bfd5

View file

@ -234,7 +234,7 @@ pub fn task_distribute_st(testcases: &Testcases) -> Result<Responses> {
pub fn task_distribute(testcases: &Testcases) -> Result<Responses> {
let cpus = num_cpus::get();
if cpus > 1 {
if cpus > 1000000 {
task_distribute_mt(testcases)
} else {
task_distribute_st(testcases)