interface TransportReservationStoreInit {
    maxReservationQueueLength?: number;
    reservationCompletionTimeout?: number;
    reservationConcurrency?: number;
}

Hierarchy (view full)

Properties

maxReservationQueueLength?: number

Limit the number of potential relays we will dial

Default

100
reservationCompletionTimeout?: number

When creating a reservation it must complete within this number of ms

Default

5000
reservationConcurrency?: number

Multiple relays may be discovered simultaneously - to prevent listening on too many relays, this value controls how many to attempt to reserve a slot on at once. If set to more than one, we may end up listening on more relays than the maxReservations value, but on networks with poor connectivity the user may wish to attempt to reserve on multiple relays simultaneously.

Default

1