update
This commit is contained in:
@@ -109,6 +109,7 @@ func New(config *Config) (*MyRedis, error) {
|
||||
MinIdleConns: config.MinIdleConn,
|
||||
MaxConnAge: maxConnAge,
|
||||
IdleTimeout: idleTimeout,
|
||||
DialTimeout: time.Second * 2,
|
||||
})
|
||||
|
||||
ctx := context.Background()
|
||||
|
||||
Reference in New Issue
Block a user