feat: uncomment warmup
This commit is contained in:
parent
1404851015
commit
f9f817958a
1 changed files with 6 additions and 6 deletions
|
@ -590,12 +590,12 @@ $http->on('start', function ($http) {
|
||||||
try {
|
try {
|
||||||
$orchestration = $orchestrationPool->get();
|
$orchestration = $orchestrationPool->get();
|
||||||
Console::info('Warming up ' . $runtime['name'] . ' ' . $runtime['version'] . ' environment...');
|
Console::info('Warming up ' . $runtime['name'] . ' ' . $runtime['version'] . ' environment...');
|
||||||
// $response = $orchestration->pull($runtime['image']);
|
$response = $orchestration->pull($runtime['image']);
|
||||||
// if ($response) {
|
if ($response) {
|
||||||
// Console::success("Successfully Warmed up {$runtime['name']} {$runtime['version']}!");
|
Console::success("Successfully Warmed up {$runtime['name']} {$runtime['version']}!");
|
||||||
// } else {
|
} else {
|
||||||
// Console::warning("Failed to Warmup {$runtime['name']} {$runtime['version']}!");
|
Console::warning("Failed to Warmup {$runtime['name']} {$runtime['version']}!");
|
||||||
// }
|
}
|
||||||
} catch (\Throwable $th) {
|
} catch (\Throwable $th) {
|
||||||
} finally {
|
} finally {
|
||||||
$orchestrationPool->put($orchestration);
|
$orchestrationPool->put($orchestration);
|
||||||
|
|
Loading…
Reference in a new issue