Skip to main content

Variable: DEFAULT\_WEBSOCKET\_RECONNECT\_ATTEMPTS

Gala Launchpad SDK 9.0.0-rc.5


Gala Launchpad SDK 9.0.0-rc.5 / index / DEFAULT_WEBSOCKET_RECONNECT_ATTEMPTS

Variable: DEFAULT_WEBSOCKET_RECONNECT_ATTEMPTS

const DEFAULT_WEBSOCKET_RECONNECT_ATTEMPTS: 5 = 5

Defined in: packages/launchpad-sdk/dist/constants/sdk-defaults.d.ts:34

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