1
0
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:
Vladimir Mihailenco
2017-09-27 10:58:06 +03:00
parent 34ce349cb7
commit 7cb146a31b
5 changed files with 9 additions and 9 deletions

View File

@ -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 {