refactor: re-enable multi threading
This commit is contained in:
parent
e8f4a58732
commit
16b65b0de4
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 > 100000 {
|
||||
if cpus > 1 {
|
||||
task_distribute_mt(testcases)
|
||||
} else {
|
||||
task_distribute_st(testcases)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue