This commit is contained in:
2023-04-04 14:18:36 +08:00
parent f46e63d876
commit 1ade082657
+1 -1
View File
@@ -76,7 +76,7 @@ class Server extends HttpService
*/
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);
if (!$enable_coroutine) {