Skip to content

Commit

Permalink
#39 Create NioEventLoopGroup using the default number of threads
Browse files Browse the repository at this point in the history
  • Loading branch information
kpavlov committed Feb 15, 2018
1 parent b06314f commit c6405b0
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -133,7 +133,7 @@ protected EventLoopGroup getBossEventLoopGroup() {
}

protected EventLoopGroup createWorkerEventLoopGroup() {
return new NioEventLoopGroup(Runtime.getRuntime().availableProcessors());
return new NioEventLoopGroup();
}

protected EventLoopGroup getWorkerEventLoopGroup() {
Expand Down

0 comments on commit c6405b0

Please sign in to comment.