Interface Configuration

Customize the way the pools works.

Hierarchy

  • Configuration

Properties

connectionTimeout?: number

The timeout duration in ms for an application to establish an Oracle Net connection.

set to undefined to ignore these settings

Deprecated

For thin mode with oracledb v6+, use setPoolDefaults to set connectTimeout instead.

For thick mode with oracle 19c+, use an Easy Connect string or a Connect Descriptor string. the property is CONNECT_TIMEOUT

Default

1_000
pingTime?: number

The number of ms between the sending of keep alive probes. If this property is set to a value greater than zero, it enables the keep alive probes

set to undefined to ignore these settings

Deprecated

For thin mode with oracledb v6+, use setPoolDefaults to set expireTime instead.

For thick mode with oracle 19c+, use an Easy Connect string or a Connect Descriptor string. the property is EXPIRE_TIME

Default

60_000
pingTimeout?: number

No longer does anything.

Deprecated

There is no equivalent for this.

Generated using TypeDoc