-
Notifications
You must be signed in to change notification settings - Fork 0
Config
Sets the compression level for packet compression.
This is technically the GZIP Compression level to those wondering.
A lower compression level means compressing packets will use less CPU Resources, but might use more network bandwidth. The opposite is also true, A higher compression level will use less network bandwidth but would put more strain on the CPU.
That being said it is not recommended to set this value to anything above the default level (this is at level 6) as this would start to degrade performance and/or increase average latency for the end user for little to no additional compression benefit compared to default. The only acceptable reason you should be setting this value above 6 is if you're hosting this server locally and have a very limited network data cap.
DEFAULT: 2
-1
uses default compression
0
disables compression entirely
1-9
sets the compression level