Set the default write & read limit to 75KB/s per connection

This commit is contained in:
themode 2020-11-18 11:11:21 +01:00
parent 142b6a69a5
commit e619dd6a8e

View File

@ -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;