更改whenMaxWorkers的默认值

This commit is contained in:
bryan31 2022-02-25 11:24:21 +08:00
parent e5f6eb37c7
commit 581090b2e0
1 changed files with 1 additions and 1 deletions

View File

@ -170,7 +170,7 @@ public class LiteflowConfig {
public Integer getWhenMaxWorkers() {
if (ObjectUtil.isNull(whenMaxWorkers)) {
return Runtime.getRuntime().availableProcessors() * 2;
return 16;
} else {
return whenMaxWorkers;
}