mirror of
https://github.com/201206030/novel.git
synced 2025-04-27 07:30:50 +00:00
perf: 启用虚拟线程
需要在 Java 21 上运行
This commit is contained in:
parent
03b3ca1d83
commit
9da5064a9e
@ -16,6 +16,10 @@ spring:
|
|||||||
multipart:
|
multipart:
|
||||||
# 上传文件最大大小
|
# 上传文件最大大小
|
||||||
max-file-size: 5MB
|
max-file-size: 5MB
|
||||||
|
# 启用虚拟线程
|
||||||
|
threads:
|
||||||
|
virtual:
|
||||||
|
enabled: true
|
||||||
server:
|
server:
|
||||||
# 端口号
|
# 端口号
|
||||||
port: 8888
|
port: 8888
|
||||||
|
Loading…
x
Reference in New Issue
Block a user