Reduce flush time to 10
This commit is contained in:
parent
70436044aa
commit
b56cd7fd98
@ -1,4 +1,4 @@
|
||||
From 79f7630a225a228fe0a5b64517a1c6eb62035aed Mon Sep 17 00:00:00 2001
|
||||
From 73f2cb6cf3b18d0cca0ee1057d4563ebc46fbded Mon Sep 17 00:00:00 2001
|
||||
From: md_5 <md_5@live.com.au>
|
||||
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..c0541b6
|
||||
index 0000000..80205ed
|
||||
--- /dev/null
|
||||
+++ b/src/main/java/org/spigotmc/netty/OutboundManager.java
|
||||
@@ -0,0 +1,18 @@
|
||||
@ -1061,7 +1061,7 @@ index 0000000..c0541b6
|
||||
+
|
||||
+public class OutboundManager extends ChannelOperationHandlerAdapter {
|
||||
+
|
||||
+ private static final int FLUSH_TIME = 20;
|
||||
+ private static final int FLUSH_TIME = 10;
|
||||
+ private long lastFlush;
|
||||
+
|
||||
+ public void flush(ChannelHandlerContext ctx, ChannelPromise promise) throws Exception {
|
||||
|
Loading…
Reference in New Issue
Block a user