Browse Source

线程池问题处理

yzc 1 năm trước cách đây
mục cha
commit
2f25d74c04

+ 1 - 1
ruoyi-framework/src/main/java/com/ruoyi/framework/config/ThreadPoolConfig.java

@@ -21,7 +21,7 @@ public class ThreadPoolConfig {
     public ThreadPoolExecutor threadPoolTaskExecutor() {
         return new ThreadPoolExecutor(
                 10,
-                20,
+                60,
                 60,
                 TimeUnit.SECONDS,
                 new ArrayBlockingQueue<>(30),