Skip to content

Commit 61780c2

Browse files
authored
Update Readme.md
1 parent edf4f9a commit 61780c2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Readme.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -579,7 +579,8 @@ Re-connecting a connection is done by establishing a new connection. Once
579579
terminated, an existing connection object cannot be re-connected by design.
580580

581581
With Pool, disconnected connections will be removed from the pool freeing up
582-
space for a new connection to be created on the next getConnection call. If all connections die, the cluster node will be removed. If a database is restarted or temporarily offline, a `POOL_NOEXIST` error may occur. This includes the auto-named cluster node. If `restoreNodeTimeout` > 0, the cluster goes into an `offline` state until a successful connection can be established.
582+
space for a new connection to be created on the next getConnection call.
583+
With PoolCluster, if all connections die, the cluster node will be removed. When this occurs, the PoolCluster emits a `POOL_NOEXIST` error, and is unrecoverable. This includes the auto-named cluster node. To keep the cluster node alive and have the PoolCluster re-establish connection(s), set `restoreNodeTimeout` > 0. The PoolCluster goes into an `offline` state until successful connection(s) can be established.
583584

584585
## Performing queries
585586

0 commit comments

Comments
 (0)