!210 fix #I7HJFX 为循环表达式异步模式的新增配置项添加默认值和自动提示释义

Merge pull request !210 from zhhhhy/dev
This commit is contained in:
铂赛东 2023-08-21 14:58:29 +00:00 committed by Gitee
commit 37cb6e73b7
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 24 additions and 0 deletions

View File

@ -179,6 +179,27 @@
"description": "Set file change monitoring.",
"sourceType": "com.yomahub.liteflow.springboot.LiteflowMonitorProperty",
"defaultValue": false
},
{
"name": "liteflow.parallel-max-workers",
"type": "java.lang.Integer",
"description": "Set the async thread pool worker max-size on \" parallel-loop \" mode.",
"sourceType": "com.yomahub.liteflow.springboot.LiteflowProperty",
"defaultValue": 16
},
{
"name": "liteflow.parallel-queue-limit",
"type": "java.lang.Integer",
"description": "Set the async thread pool queue max-size on \" parallel-loop \" mode.",
"sourceType": "com.yomahub.liteflow.springboot.LiteflowProperty",
"defaultValue": 512
},
{
"name": "liteflow.parallel-loop-executor-class",
"type": "java.lang.String",
"description": "Custom thread pool implement for parallel-loop executor.",
"sourceType": "com.yomahub.liteflow.springboot.LiteflowProperty",
"defaultValue": "com.yomahub.liteflow.thread.LiteFlowDefaultParallelLoopExecutorBuilder"
}
]
}

View File

@ -20,3 +20,6 @@ liteflow.monitor.queue-limit=200
liteflow.monitor.delay=300000
liteflow.monitor.period=300000
liteflow.enable-monitor-file=false
liteflow.parallel-max-workers=16
liteflow.parallel-queue-limit=512
liteflow.parallel-loop-executor-class=com.yomahub.liteflow.thread.LiteFlowDefaultParallelLoopExecutorBuilder