增加undertow配置到test\prod 环境

pull/5716/head
EightMonth 2023-12-26 17:11:54 +08:00
parent 87f9dc0064
commit 33c0104a02
2 changed files with 14 additions and 4 deletions

View File

@ -1,7 +1,12 @@
server:
port: 8080
tomcat:
max-swallow-size: -1
undertow:
# 平替 tomcat server.tomcat.max-swallow-siz undertow该值默认为-1
# max-http-post-size: 10MB
worker-threads: 16 # 4核CPU标准配置
buffers:
websocket: 8192 # WebSocket缓冲 以字节为单位这里设置为8 KB
io: 16384 # IO操作缓冲 以字节为单位这里设置为16 KB
error:
include-exception: true
include-stacktrace: ALWAYS

View File

@ -1,7 +1,12 @@
server:
port: 8080
tomcat:
max-swallow-size: -1
undertow:
# 平替 tomcat server.tomcat.max-swallow-siz undertow该值默认为-1
# max-http-post-size: 10MB
worker-threads: 16 # 4核CPU标准配置
buffers:
websocket: 8192 # WebSocket缓冲 以字节为单位这里设置为8 KB
io: 16384 # IO操作缓冲 以字节为单位这里设置为16 KB
error:
include-exception: true
include-stacktrace: ALWAYS