Ensure user's client and server component are both in the same event loop. Probably closes #893
This commit is contained in:
parent
38f12840ca
commit
37ed331515
@ -260,7 +260,7 @@ public final class UserConnection implements ProxiedPlayer
|
||||
};
|
||||
Bootstrap b = new Bootstrap()
|
||||
.channel( NioSocketChannel.class )
|
||||
.group( BungeeCord.getInstance().eventLoops )
|
||||
.group( ch.getHandle().eventLoop() )
|
||||
.handler( initializer )
|
||||
.option( ChannelOption.CONNECT_TIMEOUT_MILLIS, 5000 ) // TODO: Configurable
|
||||
.remoteAddress( target.getAddress() );
|
||||
|
Loading…
Reference in New Issue
Block a user