File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -650,6 +650,13 @@ terminated, an existing connection object cannot be re-connected by design.
650650With Pool, disconnected connections will be removed from the pool freeing up
651651space for a new connection to be created on the next getConnection call.
652652
653+ With PoolCluster, disconnected connections will count as errors against the
654+ related node, incrementing the error code for that node. Once there are more than
655+ ` removeNodeErrorCount ` errors on a given node, it is removed from the cluster.
656+ When this occurs, the PoolCluster may emit a ` POOL_NONEONLINE ` error if there are
657+ no longer any matching nodes for the pattern. The ` restoreNodeTimeout ` config can
658+ be set to restore offline nodes after a given timeout.
659+
653660## Performing queries
654661
655662The most basic way to perform a query is to call the ` .query() ` method on an object
You can’t perform that action at this time.
0 commit comments