如何在undertow中配置springboot2.4服务器线程?

6mw9ycah  于 2021-07-24  发布在  Java
关注(0)|答案(1)|浏览(747)

如何为undertow嵌入式服务器配置spring引导服务器线程(io和工作线程)?提前谢谢。

sg2wtvxw

sg2wtvxw1#

根据文件:

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.

相关问题