原生编译:手动注册 SelectorProvider 及其子类;增加 add-opens 参数
This commit is contained in:
-1
@@ -49,7 +49,6 @@ public class ProxyConfiguration implements LifecycleBean {
|
||||
@Bean("tcpServerBossGroup")
|
||||
public NioEventLoopGroup tcpServerBossGroup(@Inject ProxyConfig proxyConfig) {
|
||||
ProxyConfig.Server server = proxyConfig.getServer();
|
||||
System.out.println("==> server:" + server);
|
||||
ProxyConfig.Tcp tcp = server.getTcp();
|
||||
return new NioEventLoopGroup(tcp.getBossThreadCount());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user