chore: remove redundant compression

This commit is contained in:
loks0n 2024-11-08 20:24:55 +01:00
parent fcd323baa4
commit 627df0d11f

View file

@ -60,8 +60,6 @@ include __DIR__ . '/controllers/general.php';
$http->on(Constant::EVENT_START, function (Server $http) use ($payloadSize, $register) {
$app = new App('UTC');
$app->setCompression(true);
$app->setCompressionMinSize(intval(System::getEnv('_APP_COMPRESSION_MIN_SIZE_BYTES', '1024'))); // 1KB
go(function () use ($register, $app) {
$pools = $register->get('pools');