Skip to content

Commit

Permalink
fix: args
Browse files Browse the repository at this point in the history
  • Loading branch information
loks0n committed Oct 22, 2024
1 parent b2109b4 commit 9dc5abe
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/http.php
Original file line number Diff line number Diff line change
Expand Up @@ -1236,7 +1236,8 @@ function (string $runtimeId, ?string $payload, string $path, string $method, mix
throw new Exception('Function timed out during cold start.', 400);
}

$status = Console::execute('nc -z ' . $hostname . ' 3000', '', '');
$output = '';
$status = Console::execute('nc -z ' . $hostname . ' 3000', '', $output);
if ($status === 0) {
break;
}
Expand Down

0 comments on commit 9dc5abe

Please sign in to comment.