From e22dc339f0f909d4b14dc6d9a89576d0a6848e44 Mon Sep 17 00:00:00 2001 From: smallchill Date: Sun, 31 Jan 2021 21:51:14 +0800 Subject: [PATCH] =?UTF-8?q?:tada:=203.0.1.RELEASE=20=E6=9E=B6=E6=9E=84?= =?UTF-8?q?=E5=8D=87=E7=BA=A7=E9=80=82=E9=85=8D=20SpringCloud=202020.0.1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- blade-core-boot/src/main/resources/bootstrap.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/blade-core-boot/src/main/resources/bootstrap.yml b/blade-core-boot/src/main/resources/bootstrap.yml index 904c514..3cfb066 100644 --- a/blade-core-boot/src/main/resources/bootstrap.yml +++ b/blade-core-boot/src/main/resources/bootstrap.yml @@ -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