mirror of
https://github.com/redis/go-redis.git
synced 2025-07-31 05:04:23 +03:00
Reload slots in background goroutine.
This commit is contained in:
@ -113,7 +113,7 @@ func (c *ClusterPipeline) execClusterCmds(
|
||||
failedCmds[""] = append(failedCmds[""], cmds[i:]...)
|
||||
break
|
||||
} else if moved, ask, addr := isMovedError(err); moved {
|
||||
c.cluster.scheduleReload()
|
||||
c.cluster.lazyReloadSlots()
|
||||
cmd.reset()
|
||||
failedCmds[addr] = append(failedCmds[addr], cmd)
|
||||
} else if ask {
|
||||
|
Reference in New Issue
Block a user