【问题标题】:How to configure Spring boot 2.4 server threads in undertow?如何在undertow中配置Spring boot 2.4服务器线程?
【发布时间】:2021-05-02 01:53:23
【问题描述】:

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

【问题讨论】:

    标签: spring spring-boot undertow


    【解决方案1】:

    根据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.
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2019-08-26
      • 2014-12-20
      • 2014-12-20
      • 1970-01-01
      • 1970-01-01
      • 2017-10-04
      • 2018-07-27
      • 1970-01-01
      相关资源
      最近更新 更多