* Set the pool state to "ready"
()
| 304 | * Set the pool state to "ready" |
| 305 | */ |
| 306 | ready(): void { |
| 307 | if (this.poolState !== PoolState.paused) { |
| 308 | return; |
| 309 | } |
| 310 | this.poolState = PoolState.ready; |
| 311 | this.emitAndLog(ConnectionPool.CONNECTION_POOL_READY, new ConnectionPoolReadyEvent(this)); |
| 312 | clearTimeout(this.minPoolSizeTimer); |
| 313 | this.ensureMinPoolSize(); |
| 314 | } |
| 315 | |
| 316 | /** |
| 317 | * Check a connection out of this pool. The connection will continue to be tracked, but no reference to it |
no test coverage detected