变更
This commit is contained in:
+1
-1
@@ -76,7 +76,7 @@ class Server extends HttpService
|
|||||||
*/
|
*/
|
||||||
public function init(): void
|
public function init(): void
|
||||||
{
|
{
|
||||||
$this->manager = $this->container->get(Config::get('server.class',AsyncServer::class));
|
$this->manager = $this->container->get(Config::get('server.type',AsyncServer::class));
|
||||||
|
|
||||||
$enable_coroutine = Config::get('server.settings.enable_coroutine', false);
|
$enable_coroutine = Config::get('server.settings.enable_coroutine', false);
|
||||||
if (!$enable_coroutine) {
|
if (!$enable_coroutine) {
|
||||||
|
|||||||
Reference in New Issue
Block a user