remove duplicate declaration (#2773)

This commit is contained in:
ofekshenawa 2023-10-30 17:01:41 +02:00 committed by GitHub
parent a5fe17472a
commit 7ebb537c80
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 4 deletions

View File

@ -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,