Skip to content

Commit

Permalink
Update channel
Browse files Browse the repository at this point in the history
Signed-off-by: Harsha Vamsi Kalluri <[email protected]>
  • Loading branch information
harshavamsi committed Jan 24, 2025
1 parent 3d4e4db commit ee3a53f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -186,11 +186,11 @@ static EventLoopGroup createELG(String name, int eventLoopThreads) {
}

static Class<? extends Channel> serverChannelType() {
return Epoll.isAvailable() ? EpollSocketChannel.class : NioServerSocketChannel.class;
return Epoll.isAvailable() ? EpollServerSocketChannel.class : NioServerSocketChannel.class;
}

static Class<? extends Channel> clientChannelType() {
return Epoll.isAvailable() ? EpollServerSocketChannel.class : NioSocketChannel.class;
return Epoll.isAvailable() ? EpollSocketChannel.class : NioSocketChannel.class;
}

private static class Netty4Configs {
Expand Down

0 comments on commit ee3a53f

Please sign in to comment.