Gateway类的onClose回调偶发无法获取uid属性

问题描述 在webman项目中使用了Gateway-worker,在process.php的gateway.constructor中添加了onClose回调,在回调里面获取uid属性,出现偶尔无法获取该属性的报错,然后整个项目程序卡住,接口全部处于pending 程序代码 config\plugin\webman\gateway-worker\process.php部分代码如下: 'gateway' => [ ...

IT男 发表与 26天前 137 浏览 1 回答
官方自带的Http.php语法报错

官方自带的Http.php语法报错 php版本7.4.3和8.2都会报错 使用的是Push插件,调用如下代码中的send方法时给出的报错。 程序代码 <?php namespace app\controller; use Webman\Push\Api; use support\Request; class Push{ private $pusher; public function __c...

IT男 发表与 2024-09-10 628 浏览 1 回答

IT男

80
积分
0
获赞数
0
粉丝数
2024-09-10 加入
🔝