diff --git a/app/workers/functions.php b/app/workers/functions.php index 902fa479f..c3a412f8c 100644 --- a/app/workers/functions.php +++ b/app/workers/functions.php @@ -22,6 +22,8 @@ $environments = Config::getParam('environments'); $warmupStart = \microtime(true); Co\run(function() use ($environments) { + Swoole\Runtime::enableCoroutine(SWOOLE_HOOK_ALL); + foreach($environments as $environment) { // Warmup: make sure images are ready to run fast 🚀 go(function() use ($environment) { $stdout = '';