This commit is contained in:
2021-03-02 14:17:02 +08:00
parent fb0ed1b990
commit 482ea9be0e
2 changed files with 4 additions and 5 deletions
+4
View File
@@ -144,6 +144,10 @@ class Server extends HttpService
return 'ok';
}
Runtime::enableCoroutine(true, SWOOLE_HOOK_ALL ^ SWOOLE_HOOK_BLOCKING_FUNCTION | SWOOLE_HOOK_CURL);
Coroutine::set(['enable_deadlock_check' => false]);
return $baseServer->start();
}