Disable selector rebuild - closes #851
This commit is contained in:
parent
2eb2953442
commit
36ea27454d
@ -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" );
|
||||||
|
Loading…
Reference in New Issue
Block a user