更改配置项global-thread-pool-size的默认值

This commit is contained in:
everywhere.z 2025-02-14 15:17:47 +08:00
parent a88b7997dc
commit 2e0aea72dd
2 changed files with 2 additions and 2 deletions

View File

@ -439,7 +439,7 @@ public class LiteflowConfig {
public Integer getGlobalThreadPoolSize() {
if (ObjectUtil.isNull(globalThreadPoolSize)) {
return 16;
return 64;
} else {
return globalThreadPoolSize;
}

View File

@ -20,7 +20,7 @@ liteflow.monitor.queue-limit=200
liteflow.monitor.delay=300000
liteflow.monitor.period=300000
liteflow.enable-monitor-file=false
liteflow.global-thread-pool-size=16
liteflow.global-thread-pool-size=64
liteflow.global-thread-pool-queue-size=512
liteflow.global-thread-pool-executor-class=com.yomahub.liteflow.thread.LiteFlowDefaultGlobalExecutorBuilder
liteflow.enable-node-instance-id=false