Interface TimeoutConfig

Specifies the timeout options for the client.

interface TimeoutConfig {
    analyticsTimeout?: number;
    bootstrapTimeout?: number;
    connectTimeout?: number;
    kvDurableTimeout?: number;
    kvTimeout?: number;
    managementTimeout?: number;
    queryTimeout?: number;
    resolveTimeout?: number;
    searchTimeout?: number;
    viewTimeout?: number;
}

Properties

analyticsTimeout?: number

Specifies the default timeout for analytics query operations, specified in millseconds.

bootstrapTimeout?: number

Specifies the default timeout allocated to complete bootstrap, specified in millseconds.

connectTimeout?: number

Specifies the default timeout for attempting to connect to a node’s KV service via a socket, specified in millseconds.

kvDurableTimeout?: number

Specifies the default timeout for durable KV operations, specified in millseconds.

kvTimeout?: number

Specifies the default timeout for KV operations, specified in millseconds.

managementTimeout?: number

Specifies the default timeout for management operations, specified in millseconds.

queryTimeout?: number

Specifies the default timeout for query operations, specified in millseconds.

resolveTimeout?: number

Specifies the default timeout to resolve DNS name of the node to IP address, specified in millseconds.

searchTimeout?: number

Specifies the default timeout for search query operations, specified in millseconds.

viewTimeout?: number

Specifies the default timeout for views operations, specified in millseconds.