Skip to content

Commit

Permalink
remove duplicate declaration (#2773)
Browse files Browse the repository at this point in the history
  • Loading branch information
ofekshenawa authored Oct 30, 2023
1 parent a5fe174 commit 7ebb537
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions ring.go
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 7ebb537

Please sign in to comment.