The WebSocket receive loop at backend/app/realtime/init.py:105 uses a 5-minute timeout without sending keepalive/ping messages, leading to silent disconnections where clients believe they are connected. Implement periodic ping/pong messages or shorter timeout with explicit keepalive handling.
Files to modify: backend/app/realtime/__init__.py
The WebSocket receive loop at backend/app/realtime/init.py:105 uses a 5-minute timeout without sending keepalive/ping messages, leading to silent disconnections where clients believe they are connected. Implement periodic ping/pong messages or shorter timeout with explicit keepalive handling.
Files to modify:
backend/app/realtime/__init__.py