1
0
Fork 0
mirror of synced 2024-10-02 02:07:04 +13:00

feat: uncomment warmup

This commit is contained in:
Christy Jacob 2022-02-27 22:41:43 +04:00
parent 1404851015
commit f9f817958a

View file

@ -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);