mirror of
https://github.com/appwrite/appwrite.git
synced 2026-11-18 20:36:03 +00:00
fix: avoid sharing Autogravity connections
This commit is contained in:
1 parent
b18d361e27
commit
9b62d4577b
1 file changed
+1
-1
@@ -108,7 +108,7 @@ $container->set('autogravity', function (Cache $cache) {
|
||||
$host = System::getEnv('_APP_AUTOGRAVITY_HOST', '');
|
||||
$client = $host === ''
|
||||
? null
|
||||
: (new Client((new SwooleClientAdapter())->withConnectionReuse()))
|
||||
: (new Client(new SwooleClientAdapter()))
|
||||
->withBaseUri($host)
|
||||
->withTimeout(30);
|
||||
|
||||
|
||||
Reference in new issue
Block a user