diff --git a/ring.go b/ring.go index d39856bc..367a542e 100644 --- a/ring.go +++ b/ring.go @@ -84,8 +84,6 @@ type RingOptions struct { WriteTimeout time.Duration ContextTimeoutEnabled bool - ContextTimeoutEnabled bool - // PoolFIFO uses FIFO mode for each node connection pool GET/PUT (default LIFO). PoolFIFO bool @@ -155,8 +153,6 @@ func (opt *RingOptions) clientOptions() *Options { WriteTimeout: opt.WriteTimeout, ContextTimeoutEnabled: opt.ContextTimeoutEnabled, - ContextTimeoutEnabled: opt.ContextTimeoutEnabled, - PoolFIFO: opt.PoolFIFO, PoolSize: opt.PoolSize, PoolTimeout: opt.PoolTimeout,