gpt4 book ai didi

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

转载 作者:行者123 更新时间:2023-12-01 23:33:33 25 4
gpt4 key购买 nike

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

最佳答案

根据 documentation :

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.

关于spring - 如何在 undertow 中配置 Spring boot 2.4 服务器线程?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/65932548/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com