修改tomcat

main
杜函宇 2 weeks ago
parent 1efd07019e
commit 578f116668

@ -108,14 +108,19 @@ server:
servlet: servlet:
# 应用的访问路径 # 应用的访问路径
context-path: /api context-path: /api
tomcat: # tomcat:
# tomcat的URI编码 # # tomcat的URI编码
uri-encoding: UTF-8 # uri-encoding: UTF-8
# 连接数满后的排队数默认为100 # # 连接数满后的排队数默认为100
accept-count: 1000 # accept-count: 1000
threads: # threads:
# tomcat最大线程数默认为200 # # tomcat最大线程数默认为200
max: 800 # max: 800
# Tomcat启动初始化的线程数默认值10 # # Tomcat启动初始化的线程数默认值10
min-spare: 100 # min-spare: 100
tomcat:
max-threads: 500
min-spare-threads: 50
max-connections: 10000
accept-count: 1000
isTime: true isTime: true
Loading…
Cancel
Save