From b466ad7fa6a3aca8e7c557d70121fd7c1f481dce Mon Sep 17 00:00:00 2001 From: Damodar Lohani Date: Sun, 15 May 2022 13:22:21 +0545 Subject: [PATCH] Update app/executor.php MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Matej Bačo --- app/executor.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/executor.php b/app/executor.php index 78c19859fb..a594732f01 100644 --- a/app/executor.php +++ b/app/executor.php @@ -584,7 +584,7 @@ $http->on('start', function ($http) { /** * Warmup: make sure images are ready to run fast 🚀 */ - $runtimes = new Runtimes(App::getEnv('_APP_EXECUTOR_VERSION')); + $runtimes = new Runtimes(App::getEnv('_APP_EXECUTOR_VERSION', 'v1')); $allowList = empty(App::getEnv('_APP_FUNCTIONS_RUNTIMES')) ? [] : \explode(',', App::getEnv('_APP_FUNCTIONS_RUNTIMES')); $runtimes = $runtimes->getAll(true, $allowList); foreach ($runtimes as $runtime) {