We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f10f34e commit 726ddefCopy full SHA for 726ddef
sentinel.go
@@ -59,7 +59,9 @@ func (opt *FailoverOptions) options() *Options {
59
DB: opt.DB,
60
Password: opt.Password,
61
62
- MaxRetries: opt.MaxRetries,
+ MaxRetries: opt.MaxRetries,
63
+ MinRetryBackoff: opt.MinRetryBackoff,
64
+ MaxRetryBackoff: opt.MaxRetryBackoff,
65
66
DialTimeout: opt.DialTimeout,
67
ReadTimeout: opt.ReadTimeout,
@@ -69,6 +71,8 @@ func (opt *FailoverOptions) options() *Options {
69
71
PoolTimeout: opt.PoolTimeout,
70
72
IdleTimeout: opt.IdleTimeout,
73
IdleCheckFrequency: opt.IdleCheckFrequency,
74
+ MinIdleConns: opt.MinIdleConns,
75
+ MaxConnAge: opt.MaxConnAge,
76
77
TLSConfig: opt.TLSConfig,
78
}
0 commit comments