mirror of
https://github.com/PaperMC/Velocity.git
synced 2025-03-01 15:55:45 +08:00
Bump HARD_MAXIMUM_UNCOMPRESSED_SIZE
to 128MiB
This commit is contained in:
parent
4b7950658b
commit
0b07456c89
@ -34,7 +34,7 @@ import java.util.List;
|
||||
public class MinecraftCompressDecoder extends MessageToMessageDecoder<ByteBuf> {
|
||||
|
||||
private static final int VANILLA_MAXIMUM_UNCOMPRESSED_SIZE = 8 * 1024 * 1024; // 8MiB
|
||||
private static final int HARD_MAXIMUM_UNCOMPRESSED_SIZE = 16 * 1024 * 1024; // 16MiB
|
||||
private static final int HARD_MAXIMUM_UNCOMPRESSED_SIZE = 128 * 1024 * 1024; // 128MiB
|
||||
|
||||
private static final int UNCOMPRESSED_CAP =
|
||||
Boolean.getBoolean("velocity.increased-compression-cap")
|
||||
|
Loading…
Reference in New Issue
Block a user