* Gets any connection that is already opened or null if not found. * @returns {Connection} * @internal * @ignore
()
| 322 | * @ignore |
| 323 | */ |
| 324 | getActiveConnection() { |
| 325 | if (!this.isUp() || !this.pool.connections.length) { |
| 326 | return null; |
| 327 | } |
| 328 | return this.pool.connections[0]; |
| 329 | } |
| 330 | |
| 331 | /** |
| 332 | * Internal method to get the amount of responses dequeued in the last interval (between 200ms and 400ms) on all |
no test coverage detected