Merge branch 'next-minor' into next-major

This commit is contained in:
Dylan K. Taylor
2023-02-22 22:51:51 +00:00
5 changed files with 93 additions and 36 deletions

View File

@ -887,6 +887,9 @@ class Server{
if($this->configGroup->getPropertyInt("network.batch-threshold", 256) >= 0){
$netCompressionThreshold = $this->configGroup->getPropertyInt("network.batch-threshold", 256);
}
if($netCompressionThreshold < 0){
$netCompressionThreshold = null;
}
$netCompressionLevel = $this->configGroup->getPropertyInt("network.compression-level", 6);
if($netCompressionLevel < 1 || $netCompressionLevel > 9){