Commit 6ac64d7c authored by Vladimir Barsukov's avatar Vladimir Barsukov
Browse files

fix

parent e49d731b
......@@ -96,9 +96,6 @@ func (d *Pool) NewConn(mode connMode, pgConnString string) error {
}
func (d *Pool) NewConns(mode connMode, pgConnString ...string) error {
d.mu.Lock()
defer d.mu.Unlock()
for _, s := range pgConnString {
if err := d.NewConn(mode, s); err != nil {
return err
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment