fn release(pool: *ConnectionPool, client: *Client, node: *Node) void

Tries to release a connection back to the connection pool. This function is threadsafe. If the connection is marked as closing, it will be closed instead.

Parameters

client: *Client,
node: *Node,