Commit 62e54010 authored by Melledy's avatar Melledy
Browse files

Lower kcp interval to 20

parent a07b3f21
......@@ -83,7 +83,7 @@ public final class GameServer extends KcpServer {
public GameServer(InetSocketAddress address) {
ChannelConfig channelConfig = new ChannelConfig();
channelConfig.nodelay(true, 40, 2, true);
channelConfig.nodelay(true, 20, 2, true);
channelConfig.setMtu(1400);
channelConfig.setSndwnd(256);
channelConfig.setRcvwnd(256);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment