Skip to content

Commit aa5f492

Browse files
committed
internal/pool: cleanup
1 parent d264eb8 commit aa5f492

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/pool/pool.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ func (p *ConnPool) tryDial() {
178178
return
179179
}
180180

181-
conn, err := p.opt.Dialer(nil)
181+
conn, err := p.opt.Dialer(context.Background())
182182
if err != nil {
183183
p.setLastDialError(err)
184184
time.Sleep(time.Second)

0 commit comments

Comments
 (0)