File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
java/src/org/openqa/selenium/netty/server Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 2020import io .netty .bootstrap .ServerBootstrap ;
2121import io .netty .channel .Channel ;
2222import io .netty .channel .EventLoopGroup ;
23- import io .netty .channel .MultiThreadIoEventLoopGroup ;
24- import io .netty .channel .nio .NioIoHandler ;
23+ import io .netty .channel .nio .NioEventLoopGroup ;
2524import io .netty .channel .socket .nio .NioServerSocketChannel ;
2625import io .netty .handler .logging .LogLevel ;
2726import io .netty .handler .logging .LoggingHandler ;
@@ -100,8 +99,8 @@ public NettyServer(
10099
101100 this .handler = handler .with (new ErrorFilter ().andThen (new AddWebDriverSpecHeaders ()));
102101
103- bossGroup = new MultiThreadIoEventLoopGroup ( 1 , NioIoHandler . newFactory () );
104- workerGroup = new MultiThreadIoEventLoopGroup ( NioIoHandler . newFactory () );
102+ bossGroup = new NioEventLoopGroup ( 1 );
103+ workerGroup = new NioEventLoopGroup ( );
105104
106105 port = options .getPort ();
107106 host = options .getHostname ().orElse ("0.0.0.0" );
You can’t perform that action at this time.
0 commit comments