Ver Fonte

update 优化 由spring自己初始化线程池

疯狂的狮子Li há 11 meses atrás
pai
commit
65061f17fe
1 ficheiros alterados com 2 adições e 0 exclusões
  1. 2 0
      ruoyi-admin/src/main/resources/application.yml

+ 2 - 0
ruoyi-admin/src/main/resources/application.yml

@@ -62,6 +62,8 @@ spring:
       # 从 springboot 3.5 开始 spring自带线程池
       # 不再需要 AsyncConfig与ThreadPoolConfig 可直接注入线程池使用
       thread-name-prefix: async-
+      # 由spring自己初始化线程池
+      mode: force
   # 资源信息
   messages:
     # 国际化资源文件路径