升级fastjson至2.0.43,替换tomcat为undertow

This commit is contained in:
EightMonth
2023-12-26 15:03:35 +08:00
parent f4454e9348
commit b311fedc6b
7 changed files with 76 additions and 38 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