This commit is contained in:
2020-12-15 19:07:13 +08:00
parent 12be26adb3
commit 3a50aaff6b
-4
View File
@@ -202,10 +202,6 @@ class Server extends Application
*/
public function onProcessListener(): void
{
$attributes = Snowflake::app()->getAttributes();
$attributes->readControllers(CONTROLLER_PATH, 'App\Http\Controllers', 'controllers');
$attributes->readControllers(SOCKET_PATH, 'App\Websocket', 'sockets');
if (!($this->baseServer instanceof \Swoole\Server)) {
return;
}