perf: 启用虚拟线程

需要在 Java 21 上运行
This commit is contained in:
xiongxiaoyang 2024-06-02 08:47:57 +08:00
parent 03b3ca1d83
commit 9da5064a9e

View File

@ -16,6 +16,10 @@ spring:
multipart:
# 上传文件最大大小
max-file-size: 5MB
# 启用虚拟线程
threads:
virtual:
enabled: true
server:
# 端口号
port: 8888