fix: disable co-routine hooks
This commit is contained in:
parent
74908f4965
commit
b7833a862b
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue