Variable DefaultNodeOptionsConst

DefaultNodeOptions: {
    statsInterval: 60000;
    highestLatency: 2000;
    reconnectDelay: 10000;
    reconnectLimit: 3;
    handshakeTimeout: 5000;
} = ...

Default Node connection options

Type declaration

  • Readonly statsInterval: 60000

    Interval for stats updates in milliseconds

  • Readonly highestLatency: 2000

    Highest acceptable latency in milliseconds

  • Readonly reconnectDelay: 10000

    Delay before reconnection attempts in milliseconds

  • Readonly reconnectLimit: 3

    Maximum number of reconnection attempts (-1 = infinite)

  • Readonly handshakeTimeout: 5000

    WebSocket handshake timeout in milliseconds