mirror of
https://github.com/Minestom/Minestom.git
synced 2024-11-09 12:20:08 +01:00
Decrease compression level to 3
This commit is contained in:
parent
12822c508f
commit
8b526bcabe
@ -33,7 +33,7 @@ public class PacketCompressor extends ByteToMessageCodec<ByteBuf> {
|
|||||||
|
|
||||||
private final byte[] buffer = new byte[8192];
|
private final byte[] buffer = new byte[8192];
|
||||||
|
|
||||||
private final Deflater deflater = new Deflater();
|
private final Deflater deflater = new Deflater(3);
|
||||||
private final Inflater inflater = new Inflater();
|
private final Inflater inflater = new Inflater();
|
||||||
|
|
||||||
public PacketCompressor(int threshold) {
|
public PacketCompressor(int threshold) {
|
||||||
|
Loading…
Reference in New Issue
Block a user