Skip to content

Commit

Permalink
feat: update the comment for ForceClusterClient struct field
Browse files Browse the repository at this point in the history
  • Loading branch information
SoulPancake committed Jul 1, 2024
1 parent 2bac13a commit d735d00
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rueidis.go
Original file line number Diff line number Diff line change
Expand Up @@ -168,8 +168,8 @@ type ClientOption struct {
// ForceSingleClient force the usage of a single client connection, without letting the lib guessing
// if redis instance is a cluster or a single redis instance.
ForceSingleClient bool
// ForceClusterClient forces the usage of a cluster client connection, without letting the lib guess
// if the Redis instance is a cluster or a single Redis instance.
// ForceClusterClient forces the usage of a cluster client connection,
// and returns a concrete cluster client despite any of the errors in the dial
ForceClusterClient bool

// ReplicaOnly indicates that this client will only try to connect to readonly replicas of redis setup.
Expand Down

0 comments on commit d735d00

Please sign in to comment.