mirror of
https://github.com/redis/go-redis.git
synced 2025-07-19 11:43:14 +03:00
internal/pool: cleanup
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user