internal/pool: cleanup

This commit is contained in:
Vladimir Mihailenco 2019-06-15 10:34:38 +03:00
parent d264eb8e81
commit aa5f492665
1 changed files with 1 additions and 1 deletions

View File

@ -178,7 +178,7 @@ func (p *ConnPool) tryDial() {
return
}
conn, err := p.opt.Dialer(nil)
conn, err := p.opt.Dialer(context.Background())
if err != nil {
p.setLastDialError(err)
time.Sleep(time.Second)