Fix executions

This commit is contained in:
Matej Bačo
2024-07-03 08:00:17 +00:00
parent 1ce4eee34c
commit 5fb41fd216
4 changed files with 5 additions and 4 deletions
+4 -1
View File
@@ -191,7 +191,6 @@ class Executor
$params = [
'runtimeId' => $runtimeId,
'variables' => $variables,
'body' => $body,
'timeout' => $timeout,
'path' => $path,
'method' => $method,
@@ -206,6 +205,10 @@ class Executor
'logging' => $logging,
];
if(!empty($body)) {
$params['body'] = $body;
}
// Safety timeout. Executor has timeout, and open runtime has soft timeout.
// This one shouldn't really happen, but prevents from unexpected networking behaviours.
if ($requestTimeout == null) {