mirror of
https://github.com/redis/go-redis.git
synced 2025-07-29 17:41:15 +03:00
Simplify connection management with sticky connection pool. Fixes #260.
This commit is contained in:
@ -6,6 +6,10 @@ func (c *baseClient) Pool() pool {
|
||||
return c.connPool
|
||||
}
|
||||
|
||||
func (c *PubSub) Pool() pool {
|
||||
return c.base.connPool
|
||||
}
|
||||
|
||||
var NewConnDialer = newConnDialer
|
||||
|
||||
func (cn *conn) SetNetConn(netcn net.Conn) {
|
||||
|
Reference in New Issue
Block a user