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

@ -477,7 +477,7 @@ func (c *Ring) pipelineExec(cmds []Cmder) error {
}
_ = shard.Client.connPool.Remove(cn)
if canRetry && internal.IsRetryableError(err) {
if canRetry && internal.IsRetryableError(err, true) {
if failedCmdsMap == nil {
failedCmdsMap = make(map[string][]Cmder)
}