Răsfoiți Sursa

增加springboot配置提示

bryan31 3 ani în urmă
părinte
comite
7c23644ad0

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

@@ -30,10 +30,22 @@
       "description": "Node definition for ZK configuration.",
       "sourceType": "com.yomahub.liteflow.springboot.LiteflowProperty"
     },
+    {
+      "name": "liteflow.main-executor-works",
+      "type": "java.lang.Integer",
+      "description": "Max thread count for main executor,only for FlowExecutor.execute2Future.",
+      "sourceType": "com.yomahub.liteflow.springboot.LiteflowProperty"
+    },
+    {
+      "name": "liteflow.main-executor-class",
+      "type": "java.lang.String",
+      "description": "Custom thread pool implement for main executor.",
+      "sourceType": "com.yomahub.liteflow.springboot.LiteflowProperty"
+    },
     {
       "name": "liteflow.thread-executor-class",
       "type": "java.lang.String",
-      "description": "Multi thread pool.",
+      "description": "Custom thread pool implement for when executor.",
       "sourceType": "com.yomahub.liteflow.springboot.LiteflowProperty"
     },
     {