refactor: test with MT disabled
This commit is contained in:
parent
7fa3586e49
commit
e2ef29bfd5
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue