Skip to content

Commit

Permalink
[wlm] Sets default maxWorkers the same as earlier version (deepjavali…
Browse files Browse the repository at this point in the history
  • Loading branch information
frankfliu authored Jun 2, 2023
1 parent 498b5ee commit fe0610d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ public int getDefaultMaxWorkers(Model model) {
if (ompThreads > cpuCores) {
ompThreads = cpuCores;
}
return cpuCores * 2 / ompThreads;
return cpuCores / ompThreads;
}
return 2;
}
Expand Down

0 comments on commit fe0610d

Please sign in to comment.