1
0
Fork 0
mirror of synced 2024-07-02 21:20:58 +12:00

Increase timeout

This commit is contained in:
Matej Bačo 2023-09-30 17:24:09 +02:00
parent 78dd0ca439
commit 1502bfef74
2 changed files with 2 additions and 2 deletions

View file

@ -1709,7 +1709,7 @@ App::post('/v1/functions/:functionId/executions')
method: $method,
headers: $headers,
runtimeEntrypoint: $command,
requestTimeout: 15
requestTimeout: 30
);
$headersFiltered = [];

View file

@ -139,7 +139,7 @@ function router(App $utopia, Database $dbForConsole, SwooleRequest $swooleReques
\curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
// \curl_setopt($ch, CURLOPT_HEADER, true);
\curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 10);
\curl_setopt($ch, CURLOPT_TIMEOUT, 15);
\curl_setopt($ch, CURLOPT_TIMEOUT, 30);
$executionResponse = \curl_exec($ch);
$statusCode = \curl_getinfo($ch, CURLINFO_HTTP_CODE);