feat: improve functions tests

This commit is contained in:
Christy Jacob committed 2022-02-19 21:33:27 +04:00
1 parent be4c1d756e
commit b4b3b91c0b
4 files changed
+2 -137

No files matched your search

+1 -1
View File
@@ -65,7 +65,7 @@ class Executor
'commands' => $commands
];
$response = $this->call(self::METHOD_POST, $route, $headers, $params, true, 30);
$response = $this->call(self::METHOD_POST, $route, $headers, $params, true, App::getEnv('_APP_FUNCTIONS_TIMEOUT', 900));
$status = $response['headers']['status-code'];
if ($status >= 400) {