Open lawlielt opened 4 months ago
we can get conn use the Get or NewConn method, they are all will be add to the p.conns.
Get
NewConn
p.conns
the sematic of the MaxActiveConns opt is the maximum number of connections in the pool
MaxActiveConns
we can get conn use the
Get
orNewConn
method, they are all will be add to thep.conns
.the sematic of the
MaxActiveConns
opt is the maximum number of connections in the pool