mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
fix: enable coroutine in functions worker
This commit is contained in:
1 parent
9dc206051f
commit
e021b8795a
1 file changed
+2
@@ -25,6 +25,8 @@ $environments = Config::getParam('environments');
|
||||
*/
|
||||
$warmupStart = \microtime(true);
|
||||
|
||||
Runtime::setHookFlags(SWOOLE_HOOK_ALL);
|
||||
|
||||
Co\run(function() use ($environments) { // Warmup: make sure images are ready to run fast 🚀
|
||||
Runtime::enableCoroutine(SWOOLE_HOOK_ALL);
|
||||
|
||||
|
||||
Reference in new issue
Block a user