🎉 3.0.1.RELEASE 架构升级适配 SpringCloud 2020.0.1

This commit is contained in:
smallchill 2021-01-31 21:51:14 +08:00
parent 214fd56f0d
commit e22dc339f0
1 changed files with 2 additions and 0 deletions

View File

@ -5,12 +5,14 @@ server:
buffer-size: 1024
# 是否分配的直接内存
direct-buffers: true
# 线程配置
threads:
# 设置IO线程数, 它主要执行非阻塞的任务,它们会负责多个连接, 默认设置每个CPU核心一个线程
io: 16
# 阻塞任务线程池, 当执行类似servlet请求阻塞操作, undertow会从这个线程池中取得线程,它的值设置取决于系统的负载
worker: 400
servlet:
# 编码配置
encoding:
charset: UTF-8
force: true