mirror of https://github.com/go-redis/redis.git
code fmt
This commit is contained in:
parent
4d5f8a5df3
commit
39881392de
|
@ -93,6 +93,7 @@ func NewConnPool(opt *Options) *ConnPool {
|
|||
idleConns: make([]*Conn, 0, opt.PoolSize),
|
||||
closedCh: make(chan struct{}),
|
||||
}
|
||||
|
||||
p.connsMu.Lock()
|
||||
p.checkMinIdleConns()
|
||||
p.connsMu.Unlock()
|
||||
|
|
Loading…
Reference in New Issue