mirror of https://github.com/go-redis/redis.git
remove duplicate declaration (#2773)
This commit is contained in:
parent
a5fe17472a
commit
7ebb537c80
4
ring.go
4
ring.go
|
@ -84,8 +84,6 @@ type RingOptions struct {
|
||||||
WriteTimeout time.Duration
|
WriteTimeout time.Duration
|
||||||
ContextTimeoutEnabled bool
|
ContextTimeoutEnabled bool
|
||||||
|
|
||||||
ContextTimeoutEnabled bool
|
|
||||||
|
|
||||||
// PoolFIFO uses FIFO mode for each node connection pool GET/PUT (default LIFO).
|
// PoolFIFO uses FIFO mode for each node connection pool GET/PUT (default LIFO).
|
||||||
PoolFIFO bool
|
PoolFIFO bool
|
||||||
|
|
||||||
|
@ -155,8 +153,6 @@ func (opt *RingOptions) clientOptions() *Options {
|
||||||
WriteTimeout: opt.WriteTimeout,
|
WriteTimeout: opt.WriteTimeout,
|
||||||
ContextTimeoutEnabled: opt.ContextTimeoutEnabled,
|
ContextTimeoutEnabled: opt.ContextTimeoutEnabled,
|
||||||
|
|
||||||
ContextTimeoutEnabled: opt.ContextTimeoutEnabled,
|
|
||||||
|
|
||||||
PoolFIFO: opt.PoolFIFO,
|
PoolFIFO: opt.PoolFIFO,
|
||||||
PoolSize: opt.PoolSize,
|
PoolSize: opt.PoolSize,
|
||||||
PoolTimeout: opt.PoolTimeout,
|
PoolTimeout: opt.PoolTimeout,
|
||||||
|
|
Loading…
Reference in New Issue