update
parent
15d2d9ff95
commit
78557716f6
|
@ -109,6 +109,7 @@ func New(config *Config) (*MyRedis, error) {
|
||||||
MinIdleConns: config.MinIdleConn,
|
MinIdleConns: config.MinIdleConn,
|
||||||
MaxConnAge: maxConnAge,
|
MaxConnAge: maxConnAge,
|
||||||
IdleTimeout: idleTimeout,
|
IdleTimeout: idleTimeout,
|
||||||
|
DialTimeout: time.Second * 2,
|
||||||
})
|
})
|
||||||
|
|
||||||
ctx := context.Background()
|
ctx := context.Background()
|
||||||
|
|
Loading…
Reference in New Issue