diff --git a/app/executor.php b/app/executor.php index 62c220897..cf2cad16f 100644 --- a/app/executor.php +++ b/app/executor.php @@ -590,12 +590,12 @@ $http->on('start', function ($http) { try { $orchestration = $orchestrationPool->get(); Console::info('Warming up ' . $runtime['name'] . ' ' . $runtime['version'] . ' environment...'); - // $response = $orchestration->pull($runtime['image']); - // if ($response) { - // Console::success("Successfully Warmed up {$runtime['name']} {$runtime['version']}!"); - // } else { - // Console::warning("Failed to Warmup {$runtime['name']} {$runtime['version']}!"); - // } + $response = $orchestration->pull($runtime['image']); + if ($response) { + Console::success("Successfully Warmed up {$runtime['name']} {$runtime['version']}!"); + } else { + Console::warning("Failed to Warmup {$runtime['name']} {$runtime['version']}!"); + } } catch (\Throwable $th) { } finally { $orchestrationPool->put($orchestration);