* Checks the health of a connection in the pool * @param {Connection} connection * @internal * @ignore
(connection)
| 347 | * @ignore |
| 348 | */ |
| 349 | checkHealth(connection) { |
| 350 | if (connection.timedOutOperations <= this.options.socketOptions.defunctReadTimeoutThreshold) { |
| 351 | return; |
| 352 | } |
| 353 | this.removeFromPool(connection); |
| 354 | } |
| 355 | |
| 356 | /** |
| 357 | * @param {Connection} connection |
no test coverage detected