updated env

This commit is contained in:
ArnabChatterjee20k
2026-01-16 17:37:56 +05:30
parent a7b729b9a7
commit fc04e17a69
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -127,4 +127,4 @@ _APP_PROJECT_REGIONS=default
_APP_FUNCTIONS_CREATION_ABUSE_LIMIT=5000
_APP_STATS_USAGE_DUAL_WRITING_DBS=database_db_main
_APP_TRUSTED_HEADERS=x-forwarded-for
COROUTINE_POOLS=disabled
_APP_POOL_ADAPTER=stack
+1 -1
View File
@@ -287,7 +287,7 @@ $register->set('pools', function () {
default => throw new Exception(Exception::GENERAL_SERVER_ERROR, 'Invalid scheme'),
};
$poolAdapter = System::getEnv('COROUTINE_POOLS', 'disabled') === 'enabled' ? new SwoolePool() : new StackPool();
$poolAdapter = System::getEnv('_APP_POOL_ADAPTER', default: 'stack') === 'swoole' ? new SwoolePool() : new StackPool();
$pool = new Pool($poolAdapter, $name, $poolSize, function () use ($type, $resource, $dsn) {
// Get Adapter
+1 -1
View File
@@ -298,7 +298,7 @@ services:
- _APP_LOGGING_CONFIG
- _APP_LOGGING_CONFIG_REALTIME
- _APP_DATABASE_SHARED_TABLES
- COROUTINE_POOLS=enabled
- _APP_POOL_ADAPTER=swoole
appwrite-worker-audits:
entrypoint: worker-audits