2018-01-25 22:40:09 pid:24646 exception 'PDOException' with message 'SQLSTATE: Integrity constraint violation: 1062 Duplicate entry '78b3b9154900' for key 'PRIMARY'' in /root/GatewayWorker/Lib/DbConnection.php:...
我 设置 心跳间隔 // 心跳间隔 $gateway->pingInterval = 10; // 心跳数据 $gateway->pingNotResponseLimit = 6; $gateway->pingData = ''; 客户端60秒内没有任何请求, 没有执行 public static function onClose($client_id) 我把$gateway->ping...
Gateway 建立tcp连接 连上来client_id 会加入 $group 和 $group_T APP会加入 $group_T="app1"; Gateway::joinGroup($client_id, $group); 智能家具模块连接会加入 $group="nes1"; Gateway::joinGroup($client_id, $group_T); 报错...