The dashboard currently polls /api/locations every 30 seconds. Replace with WebSocket push so the map updates instantly when new data arrives.
Options: Flask-SocketIO, or switch to a simple SSE (Server-Sent Events) endpoint which requires no extra dependency.
The dashboard currently polls
/api/locationsevery 30 seconds. Replace with WebSocket push so the map updates instantly when new data arrives.Options: Flask-SocketIO, or switch to a simple SSE (Server-Sent Events) endpoint which requires no extra dependency.