From 9da5064a9e0e532e36875de1f64ab91cfebb6628 Mon Sep 17 00:00:00 2001 From: xiongxiaoyang <1179705413@qq.com> Date: Sun, 2 Jun 2024 08:47:57 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E5=90=AF=E7=94=A8=E8=99=9A=E6=8B=9F?= =?UTF-8?q?=E7=BA=BF=E7=A8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 需要在 Java 21 上运行 --- src/main/resources/application.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index 75f3bd0..19bd297 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -16,6 +16,10 @@ spring: multipart: # 上传文件最大大小 max-file-size: 5MB + # 启用虚拟线程 + threads: + virtual: + enabled: true server: # 端口号 port: 8888