mirror of
https://github.com/PaperMC/Paper.git
synced 2024-09-12 15:08:27 +02: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)) {
|
synchronized (NetworkListenThread.b(this.b)) {
|
||||||
InetAddress inetaddress = socket.getInetAddress();
|
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()));
|
NetworkListenThread.b(this.b).put(inetaddress, Long.valueOf(System.currentTimeMillis()));
|
||||||
socket.close();
|
socket.close();
|
||||||
continue;
|
continue;
|
||||||
|
Loading…
Reference in New Issue
Block a user