mirror of https://github.com/go-redis/redis.git
fix: FailoverOptions to Options (#1178)
Add missing options to FailoverOptions
This commit is contained in:
parent
f10f34eb29
commit
726ddef6f5
|
@ -59,7 +59,9 @@ func (opt *FailoverOptions) options() *Options {
|
|||
DB: opt.DB,
|
||||
Password: opt.Password,
|
||||
|
||||
MaxRetries: opt.MaxRetries,
|
||||
MaxRetries: opt.MaxRetries,
|
||||
MinRetryBackoff: opt.MinRetryBackoff,
|
||||
MaxRetryBackoff: opt.MaxRetryBackoff,
|
||||
|
||||
DialTimeout: opt.DialTimeout,
|
||||
ReadTimeout: opt.ReadTimeout,
|
||||
|
@ -69,6 +71,8 @@ func (opt *FailoverOptions) options() *Options {
|
|||
PoolTimeout: opt.PoolTimeout,
|
||||
IdleTimeout: opt.IdleTimeout,
|
||||
IdleCheckFrequency: opt.IdleCheckFrequency,
|
||||
MinIdleConns: opt.MinIdleConns,
|
||||
MaxConnAge: opt.MaxConnAge,
|
||||
|
||||
TLSConfig: opt.TLSConfig,
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue