lith 3 lat temu
rodzic
commit
1d51f35987

+ 13 - 5
Publish/ReleaseFile/StressTest/分布式压测/Demo/appsettings.json

@@ -7,11 +7,15 @@
       "Config": {
 
         "workThread": {
-          // 模式,可为 LongThread(默认)、LongThread_TimeLimit、LongTask、LongTask_TimeLimit、ConsumerCascade
+          // 模式,可为 LongThread(默认)、LongThread_TimeLimit、ManagedThread、ConsumerCascade
           "mode": "LongThread",
           /* 后台处理消息的线程个数(单位个,默认2) */
           "threadCount": 2,
-          /* 超时时间(单位ms,默认300000),仅当mode为LongThread_TimeLimit、LongTask_TimeLimit时有效 */
+          /* 最大线程数(包含常驻线程和临时线程),默认100。仅当mode为ManagedThread时有效 */
+          "maxThreadCount": 100,
+          /* 等待队列的最大长度(默认:100000)。仅当mode为LongThread_TimeLimit和ManagedThread时有效 */
+          "pendingQueueLength": 100000,
+          /* 超时时间(单位ms,默认300000),仅当mode为LongThread_TimeLimit、ManagedThread时有效 */
           "timeoutMs": 300000
         },
 
@@ -184,11 +188,15 @@
       "PrintTrace": false,
 
       "workThread": {
-        // 模式,可为 LongThread(默认)、LongThread_TimeLimit、LongTask、LongTask_TimeLimit、ConsumerCascade
+        // 模式,可为 LongThread(默认)、LongThread_TimeLimit、ManagedThread、ConsumerCascade
         "mode": "LongThread",
-        /* 后台处理消息的线程个数(单位个,默认16)(0代表不开启服务) */
+        /* 后台服务的线程个数(单位个,默认16)(0代表不开启服务) */
         "threadCount": 20,
-        /* 超时时间(单位ms,默认300000),仅当mode为LongThread_TimeLimit、LongTask_TimeLimit时有效 */
+        /* 最大线程数(包含常驻线程和临时线程),默认100。仅当mode为ManagedThread时有效 */
+        "maxThreadCount": 100,
+        /* 等待队列的最大长度(默认:100000)。仅当mode为LongThread_TimeLimit和ManagedThread时有效 */
+        "pendingQueueLength": 100000,
+        /* 超时时间(单位ms,默认300000),仅当mode为LongThread_TimeLimit、ManagedThread时有效 */
         "timeoutMs": 300000
       },
 

+ 13 - 5
Publish/ReleaseFile/StressTest/分布式压测/Robot/appsettings.json

@@ -6,11 +6,15 @@
       "Config": {
 
         "workThread": {
-          // 模式,可为 LongThread(默认)、LongThread_TimeLimit、LongTask、LongTask_TimeLimit、ConsumerCascade
+          // 模式,可为 LongThread(默认)、LongThread_TimeLimit、ManagedThread、ConsumerCascade
           "mode": "LongThread",
           /* 后台处理消息的线程个数(单位个,默认2) */
           "threadCount": 2,
-          /* 超时时间(单位ms,默认300000),仅当mode为LongThread_TimeLimit、LongTask_TimeLimit时有效 */
+          /* 最大线程数(包含常驻线程和临时线程),默认100。仅当mode为ManagedThread时有效 */
+          "maxThreadCount": 100,
+          /* 等待队列的最大长度(默认:100000)。仅当mode为LongThread_TimeLimit和ManagedThread时有效 */
+          "pendingQueueLength": 100000,
+          /* 超时时间(单位ms,默认300000),仅当mode为LongThread_TimeLimit、ManagedThread时有效 */
           "timeoutMs": 300000
         },
 
@@ -159,11 +163,15 @@
     "LocalApiService": {
 
       "workThread": {
-        // 模式,可为 LongThread(默认)、LongThread_TimeLimit、LongTask、LongTask_TimeLimit、ConsumerCascade
+        // 模式,可为 LongThread(默认)、LongThread_TimeLimit、ManagedThread、ConsumerCascade
         "mode": "LongThread",
-        /* 后台处理消息的线程个数(单位个,默认16)(0代表不开启服务) */
+        /* 后台服务的线程个数(单位个,默认16)(0代表不开启服务) */
         "threadCount": 20,
-        /* 超时时间(单位ms,默认300000),仅当mode为LongThread_TimeLimit、LongTask_TimeLimit时有效 */
+        /* 最大线程数(包含常驻线程和临时线程),默认100。仅当mode为ManagedThread时有效 */
+        "maxThreadCount": 100,
+        /* 等待队列的最大长度(默认:100000)。仅当mode为LongThread_TimeLimit和ManagedThread时有效 */
+        "pendingQueueLength": 100000,
+        /* 超时时间(单位ms,默认300000),仅当mode为LongThread_TimeLimit、ManagedThread时有效 */
         "timeoutMs": 300000
       },
 

+ 13 - 5
Publish/ReleaseFile/StressTest/分布式压测/ServiceCenter/appsettings.json

@@ -6,11 +6,15 @@
       "Config": {
 
         "workThread": {
-          // 模式,可为 LongThread(默认)、LongThread_TimeLimit、LongTask、LongTask_TimeLimit、ConsumerCascade
+          // 模式,可为 LongThread(默认)、LongThread_TimeLimit、ManagedThread、ConsumerCascade
           "mode": "LongThread",
           /* 后台处理消息的线程个数(单位个,默认2) */
           "threadCount": 4,
-          /* 超时时间(单位ms,默认300000),仅当mode为LongThread_TimeLimit、LongTask_TimeLimit时有效 */
+          /* 最大线程数(包含常驻线程和临时线程),默认100。仅当mode为ManagedThread时有效 */
+          "maxThreadCount": 100,
+          /* 等待队列的最大长度(默认:100000)。仅当mode为LongThread_TimeLimit和ManagedThread时有效 */
+          "pendingQueueLength": 100000,
+          /* 超时时间(单位ms,默认300000),仅当mode为LongThread_TimeLimit、ManagedThread时有效 */
           "timeoutMs": 300000
         },
 
@@ -196,11 +200,15 @@
       "PrintTrace": false,
 
       "workThread": {
-        // 模式,可为 LongThread(默认)、LongThread_TimeLimit、LongTask、LongTask_TimeLimit、ConsumerCascade
+        // 模式,可为 LongThread(默认)、LongThread_TimeLimit、ManagedThread、ConsumerCascade
         "mode": "LongThread",
-        /* 后台处理消息的线程个数(单位个,默认16)(0代表不开启服务) */
+        /* 后台服务的线程个数(单位个,默认16)(0代表不开启服务) */
         "threadCount": 4,
-        /* 超时时间(单位ms,默认300000),仅当mode为LongThread_TimeLimit、LongTask_TimeLimit时有效 */
+        /* 最大线程数(包含常驻线程和临时线程),默认100。仅当mode为ManagedThread时有效 */
+        "maxThreadCount": 100,
+        /* 等待队列的最大长度(默认:100000)。仅当mode为LongThread_TimeLimit和ManagedThread时有效 */
+        "pendingQueueLength": 100000,
+        /* 超时时间(单位ms,默认300000),仅当mode为LongThread_TimeLimit、ManagedThread时有效 */
         "timeoutMs": 300000
       },
 

+ 15 - 7
Publish/ReleaseFile/StressTest/单体压测/ServiceCenter/appsettings.json

@@ -7,16 +7,20 @@
       "Config": {
 
         "workThread": {
-          // 模式,可为 LongThread(默认)、LongThread_TimeLimit、LongTask、LongTask_TimeLimit、ConsumerCascade
+          // 模式,可为 LongThread(默认)、LongThread_TimeLimit、ManagedThread、ConsumerCascade
           "mode": "LongThread",
           /* 后台处理消息的线程个数(单位个,默认2) */
           "threadCount": 1,
-          /* 超时时间(单位ms,默认300000),仅当mode为LongThread_TimeLimit、LongTask_TimeLimit时有效 */
+          /* 最大线程数(包含常驻线程和临时线程),默认100。仅当mode为ManagedThread时有效 */
+          "maxThreadCount": 100,
+          /* 等待队列的最大长度(默认:100000)。仅当mode为LongThread_TimeLimit和ManagedThread时有效 */
+          "pendingQueueLength": 100000,
+          /* 超时时间(单位ms,默认300000),仅当mode为LongThread_TimeLimit、ManagedThread时有效 */
           "timeoutMs": 300000
         },
 
-        /* 请求超时时间(单位ms,默认60000) */
-        "requestTimeoutMs": 60000,
+        /* 请求超时时间(单位ms,默认300000) */
+        "requestTimeoutMs": 300000,
 
 
         //HeartBeat  
@@ -66,11 +70,15 @@
       "PrintTrace": false,
 
       "workThread": {
-        // 模式,可为 LongThread(默认)、LongThread_TimeLimit、LongTask、LongTask_TimeLimit、ConsumerCascade
+        // 模式,可为 LongThread(默认)、LongThread_TimeLimit、ManagedThread、ConsumerCascade
         "mode": "LongThread",
-        /* 后台处理消息的线程个数(单位个,默认16)(0代表不开启服务) */
+        /* 后台服务的线程个数(单位个,默认16)(0代表不开启服务) */
         "threadCount": 20,
-        /* 超时时间(单位ms,默认300000),仅当mode为LongThread_TimeLimit、LongTask_TimeLimit时有效 */
+        /* 最大线程数(包含常驻线程和临时线程),默认100。仅当mode为ManagedThread时有效 */
+        "maxThreadCount": 100,
+        /* 等待队列的最大长度(默认:100000)。仅当mode为LongThread_TimeLimit和ManagedThread时有效 */
+        "pendingQueueLength": 100000,
+        /* 超时时间(单位ms,默认300000),仅当mode为LongThread_TimeLimit、ManagedThread时有效 */
         "timeoutMs": 300000
       },
 

+ 6 - 2
dotnet/Gateway/App.Gateway/appsettings.json

@@ -21,11 +21,15 @@
 
 
           "workThread": {
-            // 模式,可为 LongThread(默认)、LongThread_TimeLimit、LongTask、LongTask_TimeLimit、ConsumerCascade
+            // 模式,可为 LongThread(默认)、LongThread_TimeLimit、ManagedThread、ConsumerCascade
             "mode": "LongThread",
             /* 后台处理消息的线程个数(单位个,默认2) */
             "threadCount": 2,
-            /* 请求超时时间(单位ms,默认300000),仅当mode为LongThread_TimeLimit、LongTask_TimeLimit时有效 */
+            /* 最大线程数(包含常驻线程和临时线程),默认100。仅当mode为ManagedThread时有效 */
+            "maxThreadCount": 100,
+            /* 等待队列的最大长度(默认:100000)。仅当mode为LongThread_TimeLimit和ManagedThread时有效 */
+            "pendingQueueLength": 100000,
+            /* 超时时间(单位ms,默认300000),仅当mode为LongThread_TimeLimit、ManagedThread时有效 */
             "timeoutMs": 300000
           },
 

+ 7 - 2
dotnet/Library/Sers/Sers.CL/Test/CommunicationManage/CmClient/appsettings.json

@@ -5,12 +5,17 @@
       /* 共用配置,子项共用,覆写子项未指定的配置 */
       "Config": {
 
+
         "workThread": {
-          // 模式,可为 LongThread(默认)、LongThread_TimeLimit、LongTask、LongTask_TimeLimit、ConsumerCascade
+          // 模式,可为 LongThread(默认)、LongThread_TimeLimit、ManagedThread、ConsumerCascade
           "mode": "LongThread",
           /* 后台处理消息的线程个数(单位个,默认2) */
           "threadCount": 4,
-          /* 请求超时时间(单位ms,默认300000),仅当mode为LongThread_TimeLimit、LongTask_TimeLimit时有效 */
+          /* 最大线程数(包含常驻线程和临时线程),默认100。仅当mode为ManagedThread时有效 */
+          "maxThreadCount": 100,
+          /* 等待队列的最大长度(默认:100000)。仅当mode为LongThread_TimeLimit和ManagedThread时有效 */
+          "pendingQueueLength": 100000,
+          /* 超时时间(单位ms,默认300000),仅当mode为LongThread_TimeLimit、ManagedThread时有效 */
           "timeoutMs": 300000
         },
 

+ 6 - 2
dotnet/Library/Sers/Sers.CL/Test/CommunicationManage/CmServer/appsettings.json

@@ -6,11 +6,15 @@
       "Config": {
 
         "workThread": {
-          // 模式,可为 LongThread(默认)、LongThread_TimeLimit、LongTask、LongTask_TimeLimit、ConsumerCascade
+          // 模式,可为 LongThread(默认)、LongThread_TimeLimit、ManagedThread、ConsumerCascade
           "mode": "LongThread",
           /* 后台处理消息的线程个数(单位个,默认2) */
           "threadCount": 4,
-          /* 请求超时时间(单位ms,默认300000),仅当mode为LongThread_TimeLimit、LongTask_TimeLimit时有效 */
+          /* 最大线程数(包含常驻线程和临时线程),默认100。仅当mode为ManagedThread时有效 */
+          "maxThreadCount": 100,
+          /* 等待队列的最大长度(默认:100000)。仅当mode为LongThread_TimeLimit和ManagedThread时有效 */
+          "pendingQueueLength": 100000,
+          /* 超时时间(单位ms,默认300000),仅当mode为LongThread_TimeLimit、ManagedThread时有效 */
           "timeoutMs": 300000
         },
 

+ 6 - 2
dotnet/ServiceCenter/App.Gover.Gateway/appsettings.json

@@ -21,11 +21,15 @@
 
 
           "workThread": {
-            // 模式,可为 LongThread(默认)、LongThread_TimeLimit、LongTask、LongTask_TimeLimit、ConsumerCascade
+            // 模式,可为 LongThread(默认)、LongThread_TimeLimit、ManagedThread、ConsumerCascade
             "mode": "LongThread",
             /* 后台处理消息的线程个数(单位个,默认2) */
             "threadCount": 2,
-            /* 请求超时时间(单位ms,默认300000),仅当mode为LongThread_TimeLimit、LongTask_TimeLimit时有效 */
+            /* 最大线程数(包含常驻线程和临时线程),默认100。仅当mode为ManagedThread时有效 */
+            "maxThreadCount": 100,
+            /* 等待队列的最大长度(默认:100000)。仅当mode为LongThread_TimeLimit和ManagedThread时有效 */
+            "pendingQueueLength": 100000,
+            /* 超时时间(单位ms,默认300000),仅当mode为LongThread_TimeLimit、ManagedThread时有效 */
             "timeoutMs": 300000
           },
 

+ 12 - 4
dotnet/ServiceCenter/App.ServiceCenter.NetFx/App.ServiceCenter.NetFx/appsettings.json

@@ -6,11 +6,15 @@
       "Config": {
 
         "workThread": {
-          // 模式,可为 LongThread(默认)、LongThread_TimeLimit、LongTask、LongTask_TimeLimit、ConsumerCascade
+          // 模式,可为 LongThread(默认)、LongThread_TimeLimit、ManagedThread、ConsumerCascade
           "mode": "LongThread",
           /* 后台处理消息的线程个数(单位个,默认2) */
           "threadCount": 2,
-          /* 超时时间(单位ms,默认300000),仅当mode为LongThread_TimeLimit、LongTask_TimeLimit时有效 */
+          /* 最大线程数(包含常驻线程和临时线程),默认100。仅当mode为ManagedThread时有效 */
+          "maxThreadCount": 100,
+          /* 等待队列的最大长度(默认:100000)。仅当mode为LongThread_TimeLimit和ManagedThread时有效 */
+          "pendingQueueLength": 100000,
+          /* 超时时间(单位ms,默认300000),仅当mode为LongThread_TimeLimit、ManagedThread时有效 */
           "timeoutMs": 300000
         },
 
@@ -196,11 +200,15 @@
       "PrintTrace": false,
 
       "workThread": {
-        // 模式,可为 LongThread(默认)、LongThread_TimeLimit、LongTask、LongTask_TimeLimit、ConsumerCascade
+        // 模式,可为 LongThread(默认)、LongThread_TimeLimit、ManagedThread、ConsumerCascade
         "mode": "LongThread",
         /* 后台服务的线程个数(单位个,默认16)(0代表不开启服务) */
         "threadCount": 4,
-        /* 超时时间(单位ms,默认300000),仅当mode为LongThread_TimeLimit、LongTask_TimeLimit时有效 */
+        /* 最大线程数(包含常驻线程和临时线程),默认100。仅当mode为ManagedThread时有效 */
+        "maxThreadCount": 100,
+        /* 等待队列的最大长度(默认:100000)。仅当mode为LongThread_TimeLimit和ManagedThread时有效 */
+        "pendingQueueLength": 100000,
+        /* 超时时间(单位ms,默认300000),仅当mode为LongThread_TimeLimit、ManagedThread时有效 */
         "timeoutMs": 300000
       },
 

+ 12 - 4
dotnet/ServiceCenter/App.ServiceCenter/appsettings.json

@@ -6,11 +6,15 @@
       "Config": {
 
         "workThread": {
-          // 模式,可为 LongThread(默认)、LongThread_TimeLimit、LongTask、LongTask_TimeLimit、ConsumerCascade
+          // 模式,可为 LongThread(默认)、LongThread_TimeLimit、ManagedThread、ConsumerCascade
           "mode": "LongThread",
           /* 后台处理消息的线程个数(单位个,默认2) */
           "threadCount": 2,
-          /* 超时时间(单位ms,默认300000),仅当mode为LongThread_TimeLimit、LongTask_TimeLimit时有效 */
+          /* 最大线程数(包含常驻线程和临时线程),默认100。仅当mode为ManagedThread时有效 */
+          "maxThreadCount": 100,
+          /* 等待队列的最大长度(默认:100000)。仅当mode为LongThread_TimeLimit和ManagedThread时有效 */
+          "pendingQueueLength": 100000,
+          /* 超时时间(单位ms,默认300000),仅当mode为LongThread_TimeLimit、ManagedThread时有效 */
           "timeoutMs": 300000
         },
 
@@ -196,11 +200,15 @@
       "PrintTrace": false,
 
       "workThread": {
-        // 模式,可为 LongThread(默认)、LongThread_TimeLimit、LongTask、LongTask_TimeLimit、ConsumerCascade
+        // 模式,可为 LongThread(默认)、LongThread_TimeLimit、ManagedThread、ConsumerCascade
         "mode": "LongThread",
         /* 后台服务的线程个数(单位个,默认16)(0代表不开启服务) */
         "threadCount": 4,
-        /* 超时时间(单位ms,默认300000),仅当mode为LongThread_TimeLimit、LongTask_TimeLimit时有效 */
+        /* 最大线程数(包含常驻线程和临时线程),默认100。仅当mode为ManagedThread时有效 */
+        "maxThreadCount": 100,
+        /* 等待队列的最大长度(默认:100000)。仅当mode为LongThread_TimeLimit和ManagedThread时有效 */
+        "pendingQueueLength": 100000,
+        /* 超时时间(单位ms,默认300000),仅当mode为LongThread_TimeLimit、ManagedThread时有效 */
         "timeoutMs": 300000
       },
 

+ 12 - 4
dotnet/ServiceStation/Demo/SersLoader/Did.SersLoader.Demo/appsettings.json

@@ -7,11 +7,15 @@
       "Config": {
 
         "workThread": {
-          // 模式,可为 LongThread(默认)、LongThread_TimeLimit、LongTask、LongTask_TimeLimit、ConsumerCascade
+          // 模式,可为 LongThread(默认)、LongThread_TimeLimit、ManagedThread、ConsumerCascade
           "mode": "LongThread",
           /* 后台处理消息的线程个数(单位个,默认2) */
           "threadCount": 2,
-          /* 请求超时时间(单位ms,默认300000),仅当mode为LongThread_TimeLimit、LongTask_TimeLimit时有效 */
+          /* 最大线程数(包含常驻线程和临时线程),默认100。仅当mode为ManagedThread时有效 */
+          "maxThreadCount": 100,
+          /* 等待队列的最大长度(默认:100000)。仅当mode为LongThread_TimeLimit和ManagedThread时有效 */
+          "pendingQueueLength": 100000,
+          /* 超时时间(单位ms,默认300000),仅当mode为LongThread_TimeLimit、ManagedThread时有效 */
           "timeoutMs": 300000
         },
 
@@ -185,11 +189,15 @@
       "PrintTrace": false,
 
       "workThread": {
-        // 模式,可为 LongThread(默认)、LongThread_TimeLimit、LongTask、LongTask_TimeLimit、ConsumerCascade
+        // 模式,可为 LongThread(默认)、LongThread_TimeLimit、ManagedThread、ConsumerCascade
         "mode": "LongThread",
         /* 后台服务的线程个数(单位个,默认16)(0代表不开启服务) */
         "threadCount": 16,
-        /* 请求超时时间(单位ms,默认300000),仅当mode为LongThread_TimeLimit、LongTask_TimeLimit时有效 */
+        /* 最大线程数(包含常驻线程和临时线程),默认100。仅当mode为ManagedThread时有效 */
+        "maxThreadCount": 100,
+        /* 等待队列的最大长度(默认:100000)。仅当mode为LongThread_TimeLimit和ManagedThread时有效 */
+        "pendingQueueLength": 100000,
+        /* 超时时间(单位ms,默认300000),仅当mode为LongThread_TimeLimit、ManagedThread时有效 */
         "timeoutMs": 300000
       },
 

+ 12 - 4
dotnet/ServiceStation/Demo/Serslot/Did.Serslot.Demo/appsettings.json

@@ -21,11 +21,15 @@
       "Config": {
 
         "workThread": {
-          // 模式,可为 LongThread(默认)、LongThread_TimeLimit、LongTask、LongTask_TimeLimit、ConsumerCascade
+          // 模式,可为 LongThread(默认)、LongThread_TimeLimit、ManagedThread、ConsumerCascade
           "mode": "LongThread",
           /* 后台处理消息的线程个数(单位个,默认2) */
           "threadCount": 2,
-          /* 超时时间(单位ms,默认300000),仅当mode为LongThread_TimeLimit、LongTask_TimeLimit时有效 */
+          /* 最大线程数(包含常驻线程和临时线程),默认100。仅当mode为ManagedThread时有效 */
+          "maxThreadCount": 100,
+          /* 等待队列的最大长度(默认:100000)。仅当mode为LongThread_TimeLimit和ManagedThread时有效 */
+          "pendingQueueLength": 100000,
+          /* 超时时间(单位ms,默认300000),仅当mode为LongThread_TimeLimit、ManagedThread时有效 */
           "timeoutMs": 300000
         },
 
@@ -72,11 +76,15 @@
       "PrintTrace": false,
 
       "workThread": {
-        // 模式,可为 LongThread(默认)、LongThread_TimeLimit、LongTask、LongTask_TimeLimit、ConsumerCascade
+        // 模式,可为 LongThread(默认)、LongThread_TimeLimit、ManagedThread、ConsumerCascade
         "mode": "LongThread",
         /* 后台服务的线程个数(单位个,默认16)(0代表不开启服务) */
         "threadCount": 16,
-        /* 超时时间(单位ms,默认300000),仅当mode为LongThread_TimeLimit、LongTask_TimeLimit时有效 */
+        /* 最大线程数(包含常驻线程和临时线程),默认100。仅当mode为ManagedThread时有效 */
+        "maxThreadCount": 100,
+        /* 等待队列的最大长度(默认:100000)。仅当mode为LongThread_TimeLimit和ManagedThread时有效 */
+        "pendingQueueLength": 100000,
+        /* 超时时间(单位ms,默认300000),仅当mode为LongThread_TimeLimit、ManagedThread时有效 */
         "timeoutMs": 300000
       },
 

+ 12 - 4
dotnet/ServiceStation/Demo/StressTest/App.Robot.Station/appsettings.json

@@ -6,11 +6,15 @@
       "Config": {
 
         "workThread": {
-          // 模式,可为 LongThread(默认)、LongThread_TimeLimit、LongTask、LongTask_TimeLimit、ConsumerCascade
+          // 模式,可为 LongThread(默认)、LongThread_TimeLimit、ManagedThread、ConsumerCascade
           "mode": "LongThread",
           /* 后台处理消息的线程个数(单位个,默认2) */
           "threadCount": 2,
-          /* 请求超时时间(单位ms,默认300000),仅当mode为LongThread_TimeLimit、LongTask_TimeLimit时有效 */
+          /* 最大线程数(包含常驻线程和临时线程),默认100。仅当mode为ManagedThread时有效 */
+          "maxThreadCount": 100,
+          /* 等待队列的最大长度(默认:100000)。仅当mode为LongThread_TimeLimit和ManagedThread时有效 */
+          "pendingQueueLength": 100000,
+          /* 超时时间(单位ms,默认300000),仅当mode为LongThread_TimeLimit、ManagedThread时有效 */
           "timeoutMs": 300000
         },
 
@@ -158,11 +162,15 @@
       "PrintTrace": false,
 
       "workThread": {
-        // 模式,可为 LongThread(默认)、LongThread_TimeLimit、LongTask、LongTask_TimeLimit、ConsumerCascade
+        // 模式,可为 LongThread(默认)、LongThread_TimeLimit、ManagedThread、ConsumerCascade
         "mode": "LongThread",
         /* 后台服务的线程个数(单位个,默认16)(0代表不开启服务) */
         "threadCount": 4,
-        /* 请求超时时间(单位ms,默认300000),仅当mode为LongThread_TimeLimit、LongTask_TimeLimit时有效 */
+        /* 最大线程数(包含常驻线程和临时线程),默认100。仅当mode为ManagedThread时有效 */
+        "maxThreadCount": 100,
+        /* 等待队列的最大长度(默认:100000)。仅当mode为LongThread_TimeLimit和ManagedThread时有效 */
+        "pendingQueueLength": 100000,
+        /* 超时时间(单位ms,默认300000),仅当mode为LongThread_TimeLimit、ManagedThread时有效 */
         "timeoutMs": 300000
       },