We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1de0d2a commit 4bb485dCopy full SHA for 4bb485d
redis.go
@@ -413,7 +413,8 @@ func (c *baseClient) _generalProcessPipeline(
413
}
414
415
416
- var canRetry bool
+ // Enable retries by default to retry dial errors returned by withConn.
417
+ canRetry := true
418
lastErr = c.withConn(ctx, func(ctx context.Context, cn *pool.Conn) error {
419
var err error
420
canRetry, err = p(ctx, cn, cmds)
0 commit comments