1
0
mirror of https://github.com/redis/go-redis.git synced 2025-07-28 06:42:00 +03:00

Improve comment.

This commit is contained in:
Vladimir Mihailenco
2016-04-06 13:13:03 +03:00
parent b9c6dcef57
commit 04b6c9d3ad
2 changed files with 4 additions and 5 deletions

View File

@ -324,8 +324,9 @@ type ClusterOptions struct {
// A seed list of host:port addresses of cluster nodes.
Addrs []string
// The maximum number of MOVED/ASK redirects to follow before giving up.
// Default is 16
// The maximum number of retries before giving up. Command is retried
// on network errors and MOVED/ASK redirects.
// Default is 16.
MaxRedirects int
// Following options are copied from Options struct.