deason hace 3 años
padre
commit
15b7e04619

+ 3 - 4
config-center-server/src/main/resources/examcloud/dev/application.properties

@@ -108,10 +108,9 @@ $baidu.secretKey=Zb83wGDg75yrU4oOkbkeQGW3KlOSHsMm
 
 #tomcat
 server.tomcat.uri-encoding=UTF-8
-server.tomcat.threads.max=10
-server.tomcat.threads.min-spare=1
-server.tomcat.accept-count=10
-server.tomcat.max-connections=100
+server.tomcat.threads.max=500
+server.tomcat.accept-count=1000
+server.tomcat.max-connections=10000
 
 spring.mvc.async.request-timeout=200000
 

+ 1 - 2
config-center-server/src/main/resources/examcloud/prod/application.properties

@@ -108,8 +108,7 @@ $secret.$baidu.secretKey=97eeb3fac07b8704b3da183451d4b3e8c813c92fed9854870a29133
 
 #tomcat
 server.tomcat.uri-encoding=UTF-8
-server.tomcat.threads.max=1200
-server.tomcat.threads.min-spare=100
+server.tomcat.threads.max=1000
 server.tomcat.accept-count=1000
 server.tomcat.max-connections=20000
 

+ 1 - 2
config-center-server/src/main/resources/examcloud/test-240/application.properties

@@ -108,9 +108,8 @@ $baidu.secretKey=Zb83wGDg75yrU4oOkbkeQGW3KlOSHsMm
 #tomcat
 server.tomcat.uri-encoding=UTF-8
 server.tomcat.threads.max=500
-server.tomcat.threads.min-spare=100
 server.tomcat.accept-count=1000
-server.tomcat.max-connections=3000
+server.tomcat.max-connections=10000
 
 spring.mvc.async.request-timeout=200000
 

+ 1 - 2
config-center-server/src/main/resources/examcloud/test-41/application.properties

@@ -108,9 +108,8 @@ $baidu.secretKey=Zb83wGDg75yrU4oOkbkeQGW3KlOSHsMm
 #tomcat
 server.tomcat.uri-encoding=UTF-8
 server.tomcat.threads.max=500
-server.tomcat.threads.min-spare=1
 server.tomcat.accept-count=1000
-server.tomcat.max-connections=3000
+server.tomcat.max-connections=10000
 
 spring.mvc.async.request-timeout=200000