mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
Update app/executor.php
Co-authored-by: Matej Bačo <matejbacocom@gmail.com>
This commit is contained in:
co-authored by
Matej Bačo
parent
52a03b4a32
commit
b466ad7fa6
+1
-1
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user