mirror of
https://github.com/SpigotMC/BungeeCord.git
synced 2024-12-25 18:17:38 +01:00
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
|
||||
{
|
||||
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" );
|
||||
EpollEventLoopGroup testGroup = null;
|
||||
@ -116,7 +116,7 @@ public class PipelineUtils
|
||||
{
|
||||
return epoll ? EpollSocketChannel.class : NioSocketChannel.class;
|
||||
}
|
||||
|
||||
|
||||
public static Class<? extends Channel> getDatagramChannel()
|
||||
{
|
||||
return epoll ? EpollDatagramChannel.class : NioDatagramChannel.class;
|
||||
|
Loading…
Reference in New Issue
Block a user