Skip to content

Commit

Permalink
#39 print real executor thread count
Browse files Browse the repository at this point in the history
  • Loading branch information
kpavlov committed Oct 21, 2018
1 parent 465a8b6 commit 5e9f7a2
Showing 1 changed file with 3 additions and 2 deletions.
Expand Up @@ -133,8 +133,9 @@ protected EventLoopGroup getBossEventLoopGroup() {
}

protected EventLoopGroup createWorkerEventLoopGroup() {
logger.debug("Creating worker EventLoopGroup with thread pool of {} threads", configuration.getWorkerThreadsCount());
return new NioEventLoopGroup(configuration.getWorkerThreadsCount());
final NioEventLoopGroup group = new NioEventLoopGroup(configuration.getWorkerThreadsCount());
logger.debug("Created worker EventLoopGroup with {} executor threads", group.executorCount());
return group;
}

protected EventLoopGroup getWorkerEventLoopGroup() {
Expand Down

0 comments on commit 5e9f7a2

Please sign in to comment.