From 57e025bb17d1d3f5cc32dd7d3e45e909ed6b1d97 Mon Sep 17 00:00:00 2001 From: md_5 Date: Sun, 17 Feb 2013 16:35:11 +1100 Subject: [PATCH] Use more threads for netty to help with lag. --- CraftBukkit-Patches/0025-Netty.patch | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CraftBukkit-Patches/0025-Netty.patch b/CraftBukkit-Patches/0025-Netty.patch index 9512eee82..4bc729ae5 100644 --- a/CraftBukkit-Patches/0025-Netty.patch +++ b/CraftBukkit-Patches/0025-Netty.patch @@ -1,4 +1,4 @@ -From aab6f0b02be084cfd920a2b185433705e2dd6534 Mon Sep 17 00:00:00 2001 +From bc0a1d00c692dcef71565d3288b5c52ceb0e699b Mon Sep 17 00:00:00 2001 From: md_5 Date: Thu, 14 Feb 2013 17:32:20 +1100 Subject: [PATCH] Netty @@ -427,7 +427,7 @@ index 0000000..027cc31 +} diff --git a/src/main/java/org/spigotmc/netty/NettyServerConnection.java b/src/main/java/org/spigotmc/netty/NettyServerConnection.java new file mode 100644 -index 0000000..a7f0c90 +index 0000000..edf4f85 --- /dev/null +++ b/src/main/java/org/spigotmc/netty/NettyServerConnection.java @@ -0,0 +1,105 @@ @@ -486,7 +486,7 @@ index 0000000..a7f0c90 + .addLast("encoder", new PacketEncoder()) + .addLast("manager", new NettyNetworkManager()); + } -+ }).group(new NioEventLoopGroup()).localAddress(host, port).bind(); ++ }).group(new NioEventLoopGroup(32)).localAddress(host, port).bind(); + } + + /**