Merge pull request #6053 from appwrite/feat-git-integration-no-hook
Disable swoole curl hook
This commit is contained in:
commit
860d6854b1
3 changed files with 0 additions and 6 deletions
|
@ -20,13 +20,10 @@ use Utopia\Database\Database;
|
|||
use Utopia\Database\Document;
|
||||
use Utopia\Swoole\Files;
|
||||
use Appwrite\Utopia\Request;
|
||||
use Swoole\Runtime;
|
||||
use Utopia\Logger\Log;
|
||||
use Utopia\Logger\Log\User;
|
||||
use Utopia\Pools\Group;
|
||||
|
||||
Runtime::enableCoroutine(SWOOLE_HOOK_NATIVE_CURL);
|
||||
|
||||
$http = new Server("0.0.0.0", App::getEnv('PORT', 80));
|
||||
|
||||
$payloadSize = 6 * (1024 * 1024); // 6MB
|
||||
|
|
|
@ -544,7 +544,6 @@ class Response extends SwooleResponse
|
|||
|
||||
if ($rule['array']) {
|
||||
if (!is_array($data[$key])) {
|
||||
\var_dump($data);
|
||||
throw new Exception($key . ' must be an array of type ' . $rule['type']);
|
||||
}
|
||||
|
||||
|
|
|
@ -166,8 +166,6 @@ class FunctionsServerTest extends Scope
|
|||
'x-appwrite-project' => $projectId,
|
||||
], $this->getHeaders()), $gqlPayload);
|
||||
|
||||
\var_dump($execution);
|
||||
|
||||
$this->assertIsArray($execution['body']['data']);
|
||||
$this->assertArrayNotHasKey('errors', $execution['body']);
|
||||
|
||||
|
|
Loading…
Reference in a new issue