mirror of
https://github.com/Minestom/Minestom.git
synced 2024-12-28 03:57:50 +01:00
Set the default write & read limit to 75KB/s per connection
This commit is contained in:
parent
142b6a69a5
commit
e619dd6a8e
@ -34,8 +34,8 @@ public class NettyServer {
|
||||
private int port;
|
||||
|
||||
// Options
|
||||
private long writeLimit;
|
||||
private long readLimit;
|
||||
private long writeLimit = 750_000L;
|
||||
private long readLimit = 750_000L;
|
||||
|
||||
public NettyServer(@NotNull PacketProcessor packetProcessor) {
|
||||
Class<? extends ServerChannel> channel;
|
||||
|
Loading…
Reference in New Issue
Block a user