Commit 6cd4c448 by 284718418@qq.com

Tomcat的高效配置

parent 6f52c42f
...@@ -5,6 +5,14 @@ server: ...@@ -5,6 +5,14 @@ server:
# context-path: /YoulinghrApiV100 # context-path: /YoulinghrApiV100
session: session:
timeout: 2592000 # session会话过期时间 timeout: 2592000 # session会话过期时间
tomcat:
# 最大连接数,默认值是10000
max-connections: 1000
# 最大工作线程数,默认200, 4核8g内存,线程数经验值800
max-threads: 500
# 等待队列长度,默认100
accept-count: 1000
max-http-post-size: 50MB
spring: spring:
servlet: servlet:
multipart: multipart:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment