更改whenMaxWorkers的默认值
This commit is contained in:
parent
e5f6eb37c7
commit
581090b2e0
|
@ -170,7 +170,7 @@ public class LiteflowConfig {
|
|||
|
||||
public Integer getWhenMaxWorkers() {
|
||||
if (ObjectUtil.isNull(whenMaxWorkers)) {
|
||||
return Runtime.getRuntime().availableProcessors() * 2;
|
||||
return 16;
|
||||
} else {
|
||||
return whenMaxWorkers;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue