From 206d24fadd1ce9cb02d6bf68cf714ef237f515ce Mon Sep 17 00:00:00 2001 From: md_5 Date: Thu, 25 Apr 2013 09:55:05 +1000 Subject: [PATCH] Remove flush time setter up --- CraftBukkit-Patches/0020-Netty.patch | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CraftBukkit-Patches/0020-Netty.patch b/CraftBukkit-Patches/0020-Netty.patch index 55e1007926..64e47dbde3 100644 --- a/CraftBukkit-Patches/0020-Netty.patch +++ b/CraftBukkit-Patches/0020-Netty.patch @@ -1,4 +1,4 @@ -From d2b8cad032a404f71688ca5e3b3da784c4238aeb Mon Sep 17 00:00:00 2001 +From 79f7630a225a228fe0a5b64517a1c6eb62035aed Mon Sep 17 00:00:00 2001 From: md_5 Date: Tue, 23 Apr 2013 11:47:32 +1000 Subject: [PATCH] Netty @@ -1049,7 +1049,7 @@ index 0000000..a3b86b8 +} diff --git a/src/main/java/org/spigotmc/netty/OutboundManager.java b/src/main/java/org/spigotmc/netty/OutboundManager.java new file mode 100644 -index 0000000..a7cef7c +index 0000000..c0541b6 --- /dev/null +++ b/src/main/java/org/spigotmc/netty/OutboundManager.java @@ -0,0 +1,18 @@ @@ -1066,8 +1066,8 @@ index 0000000..a7cef7c + + public void flush(ChannelHandlerContext ctx, ChannelPromise promise) throws Exception { + if (System.currentTimeMillis() - lastFlush > FLUSH_TIME) { -+ ctx.flush(promise); + lastFlush = System.currentTimeMillis(); ++ ctx.flush(promise); + } + } +}