Connection Pool options.
Used in Options.pool
The maximum time, in milliseconds, that pool will try to get connection before throwing error
The time interval, in milliseconds, after which sequelize-pool will remove idle connections.
The maximum time, in milliseconds, that a connection can be idle before being released
Maximum number of connections in pool. Default is 5
The number of times to use a connection before closing and replacing it. Default is Infinity
Minimum number of connections in pool. Default is 0
A function that validates a connection. Called with client. The default function checks that client is an object, and that its state is not disconnected
Generated using TypeDoc