1
0
mirror of https://github.com/redis/go-redis.git synced 2025-07-31 05:04:23 +03:00

Remove releaseConnStrict

This commit is contained in:
Vladimir Mihailenco
2019-08-08 10:43:10 +03:00
parent 2927e15b6b
commit 48224a399f
4 changed files with 8 additions and 19 deletions

View File

@ -660,7 +660,7 @@ func (c *Ring) generalProcessPipeline(
} else {
canRetry, err = shard.Client.pipelineProcessCmds(ctx, cn, cmds)
}
shard.Client.releaseConnStrict(cn, err)
shard.Client.releaseConn(cn, err)
if canRetry && isRetryableError(err, true) {
mu.Lock()