Interface
SinterClientOptions
Options for SinterClient. Every timeout is a whole number of milliseconds no greater than 2,147,483,647. An invalid value throws a SinterClientOptionsError.
interface SinterClientOptionsDefined in packages/driver/src/client.ts:46
Properties#
connectTimeoutMS
#readonly connectTimeoutMS?: numberHow long connect() may take, including the protocol handshake, before
it fails with a SinterConnectionTimeoutError. Must be at least 1.
Defaults to 10,000.
Defined in packages/driver/src/client.ts:52
requestTimeoutMS
#readonly requestTimeoutMS?: numberHow long a single request may wait for its response before it fails with a SinterRequestTimeoutError. Must be at least 1. Defaults to 10,000.
Defined in packages/driver/src/client.ts:58
socketTimeoutMS
#readonly socketTimeoutMS?: numberHow long the connection may be inactive before the socket is closed with a SinterSocketTimeoutError. 0, the default, disables the timeout.
Defined in packages/driver/src/client.ts:63