mirror of
https://github.com/redis/go-redis.git
synced 2025-07-28 06:42:00 +03:00
Increase read timeout for blocking commands and don't retry such commands
This commit is contained in:
@ -656,7 +656,7 @@ func (c *ClusterClient) Process(cmd Cmder) error {
|
||||
continue
|
||||
}
|
||||
|
||||
if internal.IsRetryableError(err) {
|
||||
if internal.IsRetryableError(err, true) {
|
||||
var nodeErr error
|
||||
node, nodeErr = c.nodes.Random()
|
||||
if nodeErr != nil {
|
||||
|
Reference in New Issue
Block a user