mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-11-24 04:19:48 +01:00
websockets.serve() defaults to ping_interval=20 and ping_timeout=20. ESP32 clients that do not answer those pings are dropped with 1011 keepalive ping timeout roughly 40 seconds into a healthy session. The application-level ping is configured separately via enable_websocket_ping. Refs #3348 |
||
|---|---|---|
| .. | ||
| api | ||
| handle | ||
| providers | ||
| utils | ||
| auth.py | ||
| connection.py | ||
| http_server.py | ||
| websocket_server.py | ||