This commit is contained in:
as2252258@163.com
2021-02-28 00:41:22 +08:00
parent be1313cd4e
commit 69a8ad32cf
2 changed files with 8 additions and 6 deletions
-5
View File
@@ -216,11 +216,6 @@ class Server extends HttpService
return;
}
Runtime::enableCoroutine(true, $this->_types);
$container['enable_deadlock_check'] = false;
$container['exit_condition'] = function () {
return Co::stats()['coroutine_num'] === 0;
};
Coroutine::set($container);
}