mediocregopher / radix.v2

Redis client for Go
http://godoc.org/github.com/mediocregopher/radix.v2
MIT License
433 stars 92 forks source link

Add max-reset-count for cluster #86

Closed beiping96 closed 6 years ago

beiping96 commented 6 years ago

https://github.com/mediocregopher/radix.v2/issues/85

mediocregopher commented 6 years ago

hey @beiping96 sorry it took me so long to get to this. I don't mind this change, but I think the max redirect count should be a field on cluster.Opts, with a default of 2. Also your second commit, 333f8c3, shouldn't be included in the PR at all, it would break a lot of things. Thanks!

beiping96 commented 6 years ago

@mediocregopher #87