Sfoglia il codice sorgente

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

Yue 8 mesi fa
parent
commit
7a18f1186a

+ 2 - 0
SERVER/VberAdminPlusV3/vber-admin/src/main/resources/application.yml

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