Skip to content

Commit

Permalink
chore: fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
loks0n committed Oct 29, 2024
1 parent da6e41c commit c1a2e53
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/http.php
Original file line number Diff line number Diff line change
Expand Up @@ -1273,7 +1273,7 @@ function (string $runtimeId, ?string $payload, string $path, string $method, mix
// Execute function
$executionRequest = $version === 'v4' ? $executeV4 : $executeV2;

while (\microtime(true) - $startTime < $timeout) {
do {
$executionResponse = \call_user_func($executionRequest);
if ($executionResponse['errNo'] === CURLE_OK) {
break;
Expand All @@ -1285,7 +1285,7 @@ function (string $runtimeId, ?string $payload, string $path, string $method, mix
}

break;
}
} while (\microtime(true) - $startTime < $timeout);

if ($executionResponse['errNo'] !== CURLE_OK) {
$log->addExtra('activeRuntime', $activeRuntimes->get($runtimeName));
Expand Down

0 comments on commit c1a2e53

Please sign in to comment.