Skip to content

Commit 214aec5

Browse files
committed
add field ContextTimeoutEnabled define in PR 2726
1 parent e5695ce commit 214aec5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

universal.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -188,10 +188,10 @@ func (o *UniversalOptions) Ring() *RingOptions {
188188
MinRetryBackoff: o.MinRetryBackoff,
189189
MaxRetryBackoff: o.MaxRetryBackoff,
190190

191-
DialTimeout: o.DialTimeout,
192-
ReadTimeout: o.ReadTimeout,
193-
WriteTimeout: o.WriteTimeout,
194-
// ContextTimeoutEnabled: o.ContextTimeoutEnabled, // field does not exist yet, see PR 2726
191+
DialTimeout: o.DialTimeout,
192+
ReadTimeout: o.ReadTimeout,
193+
WriteTimeout: o.WriteTimeout,
194+
ContextTimeoutEnabled: o.ContextTimeoutEnabled,
195195

196196
PoolFIFO: o.PoolFIFO,
197197
PoolSize: o.PoolSize,

0 commit comments

Comments
 (0)