Cold-start improvements

This commit is contained in:
Matej Bačo
2023-06-26 10:11:13 +02:00
parent 20e3eb78fb
commit fb1cc1a0cc
3 changed files with 7 additions and 7 deletions
+3 -3
View File
@@ -162,7 +162,7 @@ class Executor
* @param string $image
* @param string $source
* @param string $entrypoint
* @param string $command
* @param string $runtimeEntrypoint
*
* @return array
*/
@@ -179,7 +179,7 @@ class Executor
string $path,
string $method,
array $headers,
string $command = null,
string $runtimeEntrypoint = null,
) {
$headers['host'] = App::getEnv('_APP_DOMAIN', '');
@@ -200,7 +200,7 @@ class Executor
'cpus' => $this->cpus,
'memory' => $this->memory,
'version' => $version,
'command' => $command,
'runtimeEntrypoint' => $runtimeEntrypoint,
];
$timeout = (int) App::getEnv('_APP_FUNCTIONS_BUILD_TIMEOUT', 900);