Pool
Each source provider will associate each client setting with their equivalent system setting for their own hosted pool.
squared.db.json
interface PoolConfig {
min?: number; // Minimum connections
max?: number; // Maximum connections
idle?: number; // Maximum idle time before closing connection (ms)
queue_max?: number; // Maximum clients that can be waiting for a connection
queue_idle?: number; // Maximum time a client can be waiting for a connection (ms)
timeout?: number; // Maximum time to establish a connection (ms)
socket_timeout?: number; // Maximum time without data being sent or received (ms)
/* Module: Db */
purge?: number; // Will check pool idle time when global memory is purged
}
Note
Not all properties are supported per provider.