We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ca21d2 commit 14a8814Copy full SHA for 14a8814
osscluster.go
@@ -77,6 +77,10 @@ type ClusterOptions struct {
77
CredentialsProviderContext func(ctx context.Context) (username string, password string, err error)
78
StreamingCredentialsProvider auth.StreamingCredentialsProvider
79
80
+ // MaxRetries is the maximum number of retries before giving up.
81
+ // For ClusterClient, retries are disabled by default (set to -1),
82
+ // because the cluster client handles all kinds of retries internally.
83
+ // This is intentional and differs from the standalone Options default.
84
MaxRetries int
85
MinRetryBackoff time.Duration
86
MaxRetryBackoff time.Duration
0 commit comments