1
0
Fork 0
mirror of synced 2024-06-27 02:31:04 +12:00

fix: disable co-routine hooks

This commit is contained in:
Torsten Dittmann 2021-04-14 17:56:15 +02:00
parent 74908f4965
commit b7833a862b

View file

@ -14,7 +14,7 @@ use Utopia\Config\Config;
require_once __DIR__.'/../init.php';
Runtime::enableCoroutine(FALSE);
Runtime::enableCoroutine(SWOOLE_HOOK_ALL);
Console::title('Functions V1 Worker');
Console::success(APP_NAME.' functions worker v1 has started');
@ -64,6 +64,8 @@ $warmupTime = $warmupEnd - $warmupStart;
Console::success('Finished warmup in '.$warmupTime.' seconds');
Runtime::setHookFlags(0);
/**
* List function servers
*/