redis / go-redis

Redis Go client
https://redis.uptrace.dev
BSD 2-Clause "Simplified" License
19.61k stars 2.31k forks source link

fix the maxActiveConns sematic #2934

Open lawlielt opened 4 months ago

lawlielt commented 4 months ago

we can get conn use the Get or NewConn method, they are all will be add to the p.conns.

the sematic of the MaxActiveConns opt is the maximum number of connections in the pool