Bläddra i källkod

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

zy 1 år sedan
förälder
incheckning
88a20459f0

+ 21 - 0
liteflow-spring-boot-starter/src/main/resources/META-INF/additional-spring-configuration-metadata.json

@@ -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"
     }
   ]
 }