summaryrefslogtreecommitdiffstats
path: root/nms-patches
diff options
context:
space:
mode:
authormd_5 <git@md-5.net>2017-10-06 20:49:22 +1100
committermd_5 <git@md-5.net>2017-10-06 20:49:22 +1100
commite8b6e4f29b5695fad110d8c08df0afcb2d5fc695 (patch)
tree0eec54f184616059a7ccd017152e379e051ef629 /nms-patches
parent362ed329f0c764cff343683f46c18c374092155d (diff)
downloadcraftbukkit-e8b6e4f29b5695fad110d8c08df0afcb2d5fc695.tar
craftbukkit-e8b6e4f29b5695fad110d8c08df0afcb2d5fc695.tar.gz
craftbukkit-e8b6e4f29b5695fad110d8c08df0afcb2d5fc695.tar.lz
craftbukkit-e8b6e4f29b5695fad110d8c08df0afcb2d5fc695.tar.xz
craftbukkit-e8b6e4f29b5695fad110d8c08df0afcb2d5fc695.zip
Temporarily shift L7 timeout value to L4 value of 30s.
Diffstat (limited to 'nms-patches')
-rw-r--r--nms-patches/PlayerConnection.patch9
1 files changed, 9 insertions, 0 deletions
diff --git a/nms-patches/PlayerConnection.patch b/nms-patches/PlayerConnection.patch
index ea53e3f9..402d00e6 100644
--- a/nms-patches/PlayerConnection.patch
+++ b/nms-patches/PlayerConnection.patch
@@ -97,6 +97,15 @@
public void e() {
this.syncPosition();
+@@ -104,7 +177,7 @@
+ this.minecraftServer.methodProfiler.a("keepAlive");
+ long i = this.d();
+
+- if (i - this.f >= 15000L) {
++ if (i - this.f >= 30000L) { // CraftBukkit
+ if (this.g) {
+ this.disconnect(new ChatMessage("disconnect.timeout", new Object[0]));
+ } else {
@@ -116,15 +189,21 @@
}