소스 검색

修改tomcat配置写法

rainbow 2 년 전
부모
커밋
53ec119bff
1개의 변경된 파일4개의 추가작업 그리고 3개의 파일을 삭제
  1. 4 3
      src/main/resources/application.yml

+ 4 - 3
src/main/resources/application.yml

@@ -2,10 +2,11 @@
 server:
   tomcat:
     uri-encoding: UTF-8
-    max-threads: 1000
-    min-spare-threads: 30
+    threads:
+      max: 1000
+      min-spare: 30
+    connection-timeout: 5000ms
   port: 8080
-  connection-timeout: 5000ms
   servlet:
     context-path: /renren-fast