Browse Source

1.修改线程池大小

WoNiu 4 years ago
parent
commit
c84fb23b33
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main/resources/application.yml

+ 1 - 1
src/main/resources/application.yml

@@ -46,7 +46,7 @@ spring:
   task:
     scheduling:
       pool:
-        size: 50
+        size: 500
       thread-name-prefix: scheduled-task-
   datasource:
     url: ${MYSQL_URL}