interface CircuitRelayServerInit {
    hopTimeout?: number;
    maxInboundHopStreams?: number;
    maxOutboundHopStreams?: number;
    maxOutboundStopStreams?: number;
    reservations?: ServerReservationStoreInit;
}

Properties

hopTimeout?: number

Incoming hop requests must complete within this time in ms otherwise the stream will be reset

Default

30000
maxInboundHopStreams?: number

The maximum number of simultaneous HOP inbound streams that can be open at once

maxOutboundHopStreams?: number

The maximum number of simultaneous HOP outbound streams that can be open at once

maxOutboundStopStreams?: number

The maximum number of simultaneous STOP outbound streams that can be open at once.

Default

300

Configuration of reservations