暗潮属性定义默认值

问题描述:

目前,我们正在调整我们的服务,它的暗流,但我们无法找到下列属性的默认值:在制定行动暗潮属性定义默认值

server.undertow.worker-threads 
server.undertow.io-threads 

我们了解到,暗流正在使用org.xnio.Options线程但找不到任何默认值。

https://github.com/undertow-io/undertow/blob/master/core/src/main/java/io/undertow/Undertow.java

... 
    ioThreads = Math.max(Runtime.getRuntime().availableProcessors(), 2); 
    workerThreads = ioThreads * 8; 
...