mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-03 01:10:37 +01:00
Bump rate limit down to 3 (from 5)
This commit is contained in:
parent
05db99ce17
commit
007aa958d2
@ -1,4 +1,4 @@
|
|||||||
From 5581db959aa1fd81c518c0ff898c2bac0a82931d Mon Sep 17 00:00:00 2001
|
From 75205d26eaaad90fd58d0a1b317176d59689658e Mon Sep 17 00:00:00 2001
|
||||||
From: md_5 <md_5@live.com.au>
|
From: md_5 <md_5@live.com.au>
|
||||||
Date: Tue, 23 Apr 2013 11:47:32 +1000
|
Date: Tue, 23 Apr 2013 11:47:32 +1000
|
||||||
Subject: [PATCH] Netty
|
Subject: [PATCH] Netty
|
||||||
@ -1072,7 +1072,7 @@ index 0000000..a3b86b8
|
|||||||
+}
|
+}
|
||||||
diff --git a/src/main/java/org/spigotmc/netty/OutboundManager.java b/src/main/java/org/spigotmc/netty/OutboundManager.java
|
diff --git a/src/main/java/org/spigotmc/netty/OutboundManager.java b/src/main/java/org/spigotmc/netty/OutboundManager.java
|
||||||
new file mode 100644
|
new file mode 100644
|
||||||
index 0000000..7476074
|
index 0000000..758923c
|
||||||
--- /dev/null
|
--- /dev/null
|
||||||
+++ b/src/main/java/org/spigotmc/netty/OutboundManager.java
|
+++ b/src/main/java/org/spigotmc/netty/OutboundManager.java
|
||||||
@@ -0,0 +1,19 @@
|
@@ -0,0 +1,19 @@
|
||||||
@ -1084,7 +1084,7 @@ index 0000000..7476074
|
|||||||
+
|
+
|
||||||
+public class OutboundManager extends ChannelOperationHandlerAdapter {
|
+public class OutboundManager extends ChannelOperationHandlerAdapter {
|
||||||
+
|
+
|
||||||
+ private static final int FLUSH_TIME = 5;
|
+ private static final int FLUSH_TIME = 3;
|
||||||
+ private long lastFlush;
|
+ private long lastFlush;
|
||||||
+ public boolean flushNow = false;
|
+ public boolean flushNow = false;
|
||||||
+
|
+
|
||||||
|
Loading…
Reference in New Issue
Block a user