mirror of
https://github.com/PaperMC/Paper.git
synced 2025-03-13 11:18:23 +01:00
Temporarily shift L7 timeout value to L4 value of 30s.
By: md_5 <git@md-5.net>
This commit is contained in:
parent
70fc6df507
commit
ec331ba7fd
1 changed files with 9 additions and 0 deletions
|
@ -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 @@
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue