瀏覽代碼

!2 修改tomcat配置写法
Merge pull request !2 from 一尘/master

独孤求胜 2 年之前
父節點
當前提交
1eb013fece
共有 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