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