fix(extension): resolve 10-item limit truncation & WS zombie disconnection (v0.5.14)
This commit is contained in:
3
hub.py
3
hub.py
@@ -590,7 +590,8 @@ class WSHub:
|
||||
await self._on_brain_event(conn.project, payload)
|
||||
|
||||
elif msg_type == MsgType.HEARTBEAT:
|
||||
pass # last_heartbeat already updated above
|
||||
# Echo back a "pong" so clients without native ping/pong can update their timers
|
||||
await conn.ws.send_json({"type": "pong"})
|
||||
|
||||
else:
|
||||
logger.warning(f"[HUB] Unknown message type: {msg_type} from {conn.conn_id}")
|
||||
|
||||
Reference in New Issue
Block a user