mirror of
https://gitee.com/dromara/liteFlow.git
synced 2026-05-14 20:22:07 +08:00
更改whenMaxWorkers的默认值
This commit is contained in:
@@ -170,7 +170,7 @@ public class LiteflowConfig {
|
||||
|
||||
public Integer getWhenMaxWorkers() {
|
||||
if (ObjectUtil.isNull(whenMaxWorkers)) {
|
||||
return Runtime.getRuntime().availableProcessors() * 2;
|
||||
return 16;
|
||||
} else {
|
||||
return whenMaxWorkers;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user