We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d5f8a5 commit 3988139Copy full SHA for 3988139
internal/pool/pool.go
@@ -93,6 +93,7 @@ func NewConnPool(opt *Options) *ConnPool {
93
idleConns: make([]*Conn, 0, opt.PoolSize),
94
closedCh: make(chan struct{}),
95
}
96
+
97
p.connsMu.Lock()
98
p.checkMinIdleConns()
99
p.connsMu.Unlock()
0 commit comments