mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-24 03:25:15 +01:00
Really loosened the throttles strictness this time.
This commit is contained in:
parent
3e0a26f270
commit
b987d1b052
@ -25,7 +25,7 @@ class NetworkAcceptThread extends Thread {
|
||||
synchronized (NetworkListenThread.b(this.b)) {
|
||||
InetAddress inetaddress = socket.getInetAddress();
|
||||
|
||||
if (NetworkListenThread.b(this.b).containsKey(inetaddress) && System.currentTimeMillis() - ((Long) NetworkListenThread.b(this.b).get(inetaddress)).longValue() < 6000L) { // CraftBukkit
|
||||
if (NetworkListenThread.b(this.b).containsKey(inetaddress) && System.currentTimeMillis() - ((Long) NetworkListenThread.b(this.b).get(inetaddress)).longValue() < 4000L) { // CraftBukkit
|
||||
NetworkListenThread.b(this.b).put(inetaddress, Long.valueOf(System.currentTimeMillis()));
|
||||
socket.close();
|
||||
continue;
|
||||
|
Loading…
Reference in New Issue
Block a user