Skip to content

Why client retryTimeout always be 1? #2069

Answered by vmihailenco
ray2011 asked this question in Q&A
Discussion options

You must be logged in to vote

Nope, this looks like bug. According to Git history, it should be:

if cmd.readTimeout() == nil {
	atomic.StoreUint32(&retryTimeout, 1)
} else {
	atomic.StoreUint32(&retryTimeout, 0)
}

Does that make sense?

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by ray2011
Comment options

You must be logged in to vote
1 reply
@vmihailenco
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants