Browse Source

yml格式错误

wukai 2 years ago
parent
commit
f549d74c16
1 changed files with 12 additions and 13 deletions
  1. 12 13
      doc-admin/src/main/resources/application.yml

+ 12 - 13
doc-admin/src/main/resources/application.yml

@@ -17,19 +17,18 @@ server:
   servlet:
     # 应用的访问路径
     context-path: /
-    tomcat:
-      # tomcat的URI编码
-      uri-encoding: UTF-8
-      # 连接数满后的排队数,默认为100
-      accept-count: 1000
-      # tomcat超时时间
-      max-connections: 30000
-      threads:
-        # tomcat最大线程数,默认为200
-        max: 800
-        # Tomcat启动初始化的线程数,默认值10
-        min-spare: 100
-
+  tomcat:
+    # tomcat的URI编码
+    uri-encoding: UTF-8
+    # 连接数满后的排队数,默认为100
+    accept-count: 1000
+    # 默认最大连接数
+    max-connections: 30000
+    threads:
+      # tomcat最大线程数,默认为200
+      max: 800
+      # Tomcat启动初始化的线程数,默认值10
+      min-spare: 100
 # Spring配置
 spring:
   # 资源信息