You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@james.apache.org by bt...@apache.org on 2022/03/22 02:01:33 UTC

[james-project] 02/29: JAMES-3715 Carry over `ioWorkerCount` configuration parameter

This is an automated email from the ASF dual-hosted git repository.

btellier pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/james-project.git

commit 7fd6eb0622aaa843a03ee9a219b4907c413cd6c6
Author: Benoit Tellier <bt...@linagora.com>
AuthorDate: Sun Feb 27 20:22:34 2022 +0700

    JAMES-3715 Carry over `ioWorkerCount` configuration parameter
    
    Before this parameter was ignored, we can use it to size Netty server
    child executor instead.
---
 .../main/java/org/apache/james/protocols/netty/AbstractAsyncServer.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/protocols/netty/src/main/java/org/apache/james/protocols/netty/AbstractAsyncServer.java b/protocols/netty/src/main/java/org/apache/james/protocols/netty/AbstractAsyncServer.java
index f11ea48..d0997cc 100644
--- a/protocols/netty/src/main/java/org/apache/james/protocols/netty/AbstractAsyncServer.java
+++ b/protocols/netty/src/main/java/org/apache/james/protocols/netty/AbstractAsyncServer.java
@@ -97,7 +97,7 @@ public abstract class AbstractAsyncServer implements ProtocolServer {
         bootstrap.channel(NioServerSocketChannel.class);
 
         bossGroup = new NioEventLoopGroup();
-        workerGroup = new NioEventLoopGroup();
+        workerGroup = new NioEventLoopGroup(ioWorker);
 
         bootstrap.group(bossGroup, workerGroup);
 

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@james.apache.org
For additional commands, e-mail: notifications-help@james.apache.org