如何在undertow中配置Spring boot 2.4服务器线程?

S. *_*Das 3 spring spring-boot undertow

如何为 undertow 嵌入式服务器配置 Spring Boot 服务器线程(IO 和 Worker)?提前致谢。

Vic*_*tor 9

根据文档

server.undertow.threads.io //Number of I/O threads to create for the worker. The default is derived from the number of available processors.
server.undertow.threads.worker //Number of worker threads. The default is 8 times the number of I/O threads.
Run Code Online (Sandbox Code Playgroud)