Disable selector rebuild - closes #851

This commit is contained in:
md_5 2014-02-08 09:39:45 +11:00
parent 2eb2953442
commit 36ea27454d

View File

@ -186,6 +186,8 @@ public class BungeeCord extends ProxyServer
@Override @Override
public void start() throws Exception public void start() throws Exception
{ {
System.setProperty( "java.net.preferIPv4Stack", "true" ); // Minecraft does not support IPv6
System.setProperty( "io.netty.selectorAutoRebuildThreshold", "0" ); // Seems to cause Bungee to stop accepting connections
ResourceLeakDetector.setEnabled( false ); // Eats performance ResourceLeakDetector.setEnabled( false ); // Eats performance
File moduleDirectory = new File( "modules" ); File moduleDirectory = new File( "modules" );