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 b6ad4fd commit 4574888Copy full SHA for 4574888
internal/pool/pool.go
@@ -566,7 +566,7 @@ func (p *ConnPool) asyncNewConn(ctx context.Context) (*Conn, error) {
566
return nil, ctx.Err()
567
}
568
569
- dialCtx, cancel := context.WithTimeout(context.WithoutCancel(ctx), p.cfg.DialTimeout)
+ dialCtx, cancel := context.WithTimeout(context.Background(), p.cfg.DialTimeout)
570
571
w := &wantConn{
572
ctx: dialCtx,
0 commit comments