interface Options {
    connectTimeout?: number;
    highWaterMark?: number;
    lowWaterMark?: number;
}

Properties

connectTimeout?: number

Connect timeout (in milliseconds).

10000

highWaterMark?: number

Buffer amount (in bytes) to start TX throttling.

1 MiB

lowWaterMark?: number

Buffer amount (in bytes) to stop TX throttling.

16 KiB