From 034814c92441a10e81d4cad9604be48ee970be13 Mon Sep 17 00:00:00 2001 From: Binyamin Yawitz <316103+byawitz@users.noreply.github.com> Date: Tue, 25 Jun 2024 09:38:33 -0400 Subject: [PATCH] chore: Removing default function timeout --- app/controllers/api/functions.php | 3 +-- app/controllers/general.php | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/app/controllers/api/functions.php b/app/controllers/api/functions.php index b5e02b9dad..7571b4eaf6 100644 --- a/app/controllers/api/functions.php +++ b/app/controllers/api/functions.php @@ -1730,8 +1730,7 @@ Http::post('/v1/functions/:functionId/executions') path: $path, method: $method, headers: $headers, - runtimeEntrypoint: $command, - requestTimeout: 30 + runtimeEntrypoint: $command ); $headersFiltered = []; diff --git a/app/controllers/general.php b/app/controllers/general.php index 1839777a2e..f11943b9d6 100644 --- a/app/controllers/general.php +++ b/app/controllers/general.php @@ -268,8 +268,7 @@ function router(Database $dbForConsole, callable $getProjectDB, Request $request path: $path, method: $method, headers: $headers, - runtimeEntrypoint: $command, - requestTimeout: 30 + runtimeEntrypoint: $command ); $headersFiltered = [];