Browse Source

tomcat: 增加tomcat配置参数

haha 4 years ago
parent
commit
bf0970d7b1
1 changed files with 9 additions and 1 deletions
  1. 9 1
      seec-oj-server/src/main/resources/application.yml

+ 9 - 1
seec-oj-server/src/main/resources/application.yml

@@ -1,3 +1,11 @@
 spring:
   profiles:
-    active: prod
+    active: prod
+
+server:
+  tomcat:
+    threads:
+      max: 500
+      min-spare: 50
+    accept-count: 200
+