index/variables/DEFAULT_WEBSOCKET_RECONNECT_ATTEMPTS.md
constDEFAULT_WEBSOCKET_RECONNECT_ATTEMPTS:5=5
Default number of reconnection attempts for WebSocket connections.
Used by:
- WebSocketService: Automated reconnection retry logic
- StreamWebSocketService: Stream connection resilience
When the WebSocket connection fails, the service will attempt to reconnect up to this many times before giving up.
See
WebSocketService#reconnectAttempts
Since
6.15.0