|
@@ -178,6 +178,7 @@ func (c *clusterImpl) removeConn(conn *Conn) {
|
|
|
connPool.RemoveNode(conn)
|
|
connPool.RemoveNode(conn)
|
|
|
if connPool.Size() == 0 {
|
|
if connPool.Size() == 0 {
|
|
|
c.hostPool.RemoveNode(connPool)
|
|
c.hostPool.RemoveNode(connPool)
|
|
|
|
|
+ delete(c.connPool, conn.addr)
|
|
|
}
|
|
}
|
|
|
delete(c.conns, conn)
|
|
delete(c.conns, conn)
|
|
|
}
|
|
}
|