Disable epoll whilst we try to replicate some issues
This commit is contained in:
parent
a668da76d0
commit
bb69af5cd0
@ -80,7 +80,7 @@ public class PipelineUtils
|
|||||||
|
|
||||||
static
|
static
|
||||||
{
|
{
|
||||||
if ( !PlatformDependent.isWindows() )
|
if ( !PlatformDependent.isWindows() && Boolean.parseBoolean( System.getProperty( "bungee.epoll", "false" ) ) )
|
||||||
{
|
{
|
||||||
ProxyServer.getInstance().getLogger().info( "Not on Windows, attempting to use enhanced EpollEventLoop" );
|
ProxyServer.getInstance().getLogger().info( "Not on Windows, attempting to use enhanced EpollEventLoop" );
|
||||||
EpollEventLoopGroup testGroup = null;
|
EpollEventLoopGroup testGroup = null;
|
||||||
@ -116,7 +116,7 @@ public class PipelineUtils
|
|||||||
{
|
{
|
||||||
return epoll ? EpollSocketChannel.class : NioSocketChannel.class;
|
return epoll ? EpollSocketChannel.class : NioSocketChannel.class;
|
||||||
}
|
}
|
||||||
|
|
||||||
public static Class<? extends Channel> getDatagramChannel()
|
public static Class<? extends Channel> getDatagramChannel()
|
||||||
{
|
{
|
||||||
return epoll ? EpollDatagramChannel.class : NioDatagramChannel.class;
|
return epoll ? EpollDatagramChannel.class : NioDatagramChannel.class;
|
||||||
|
Loading…
Reference in New Issue
Block a user