From aa5f492665660d2bbf41313c7f1ec9d8cc3d85d2 Mon Sep 17 00:00:00 2001 From: Vladimir Mihailenco Date: Sat, 15 Jun 2019 10:34:38 +0300 Subject: [PATCH] internal/pool: cleanup --- internal/pool/pool.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/pool/pool.go b/internal/pool/pool.go index 09fd5cea..d18b2566 100644 --- a/internal/pool/pool.go +++ b/internal/pool/pool.go @@ -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)