#### 问题描述
GatewayClient 连接 GatewayWorker,短时间没问题,正常使用,但是 当我在一个常驻内存运行的脚本里的时候,GatewayClient 只有开始能用,过一段时间后发送消息就会等很长时间,然后发不出去,报错找不到好像,
应该是超时被断开还是什么原因,请问 GatewayClient类里面如何实现重连呢,或者 设置永不断开之类的
#### 程序代码或配置
```
use GatewayClient($r, $c, $msg) use ($roomPublic) {
if (str_starts_with($msg, 'room_pk_expire:')) {
//这里发送消息时间一长,就会发不出去
}
});
```
#### 重现问题的步骤
由于代码隐私问题,部分业务代码已去除
#### 操作系统环境及workerman/webman等具体版本
最新的GatewayWorker