mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-23 19:15:32 +01:00
Reduce packet antispammer as low as we can go.
This commit is contained in:
parent
aa0f27bcd9
commit
a36e58024a
@ -1,4 +1,4 @@
|
||||
From c2889e1b26e359f4441ea899d1c12ac3004d3a6d Mon Sep 17 00:00:00 2001
|
||||
From 5146e6a561c2858de9a0d2a44dadde9db0b7a8a6 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
|
||||
@ -1190,7 +1190,7 @@ index 0000000..5da8a59
|
||||
+}
|
||||
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..99899d2
|
||||
index 0000000..4f37cb3
|
||||
--- /dev/null
|
||||
+++ b/src/main/java/org/spigotmc/netty/OutboundManager.java
|
||||
@@ -0,0 +1,29 @@
|
||||
@ -1204,7 +1204,7 @@ index 0000000..99899d2
|
||||
+class OutboundManager extends ChannelOperationHandlerAdapter
|
||||
+{
|
||||
+
|
||||
+ private static final int FLUSH_TIME = 2;
|
||||
+ private static final int FLUSH_TIME = 1;
|
||||
+ /*========================================================================*/
|
||||
+ public long lastFlush;
|
||||
+ private final NettyNetworkManager manager;
|
||||
|
Loading…
Reference in New Issue
Block a user