Merge branch '1.6.x' of github.com:appwrite/appwrite into multi-region-support

This commit is contained in:
shimon
2025-01-19 10:33:47 +02:00
34 changed files with 286 additions and 352 deletions
+1 -1
View File
@@ -350,7 +350,7 @@ $http->on(Constant::EVENT_REQUEST, function (SwooleRequest $swooleRequest, Swool
}
$app = new App('UTC');
$app->setCompression(true);
$app->setCompression(System::getEnv('_APP_COMPRESSION_ENABLED', 'enabled') === 'enabled');
$app->setCompressionMinSize(intval(System::getEnv('_APP_COMPRESSION_MIN_SIZE_BYTES', '1024'))); // 1KB
$pools = $register->get('pools');