修复推送报错:确定为服务端没有安装webman/push扩展,移除冗余代码

This commit is contained in:
2026-04-20 16:34:19 +08:00
parent 3e6a3cd590
commit 17eadddaa2
3 changed files with 13 additions and 49 deletions

View File

@@ -1,10 +1,10 @@
<?php
use app\process\WebmanPushServer;
use Webman\Push\Server;
return [
'server' => [
'handler' => WebmanPushServer::class,
'handler' => Server::class,
'listen' => config('plugin.webman.push.app.websocket'),
'count' => 1, // 必须是1
'reloadable' => false, // 执行reload不重启