Skip to content

Commit

Permalink
add bossnumber&worknumber
Browse files Browse the repository at this point in the history
  • Loading branch information
zk-123 committed Nov 5, 2019
1 parent 984af11 commit e1d56da
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@ public class ClientStart {
/**
* boosLoopGroup
*/
private static EventLoopGroup bossLoopGroup = new NioEventLoopGroup(1);
private static EventLoopGroup bossLoopGroup = new NioEventLoopGroup(ClientConfig.clientConfig.getBossThreadNumber());
/**
* worksLoopGroup
*/
private static EventLoopGroup worksLoopGroup = new NioEventLoopGroup(1);
private static EventLoopGroup worksLoopGroup = new NioEventLoopGroup(ClientConfig.clientConfig.getBossThreadNumber());
/**
* clientBootstrap
*/
Expand Down

0 comments on commit e1d56da

Please sign in to comment.