mirror of
https://github.com/redis/go-redis.git
synced 2025-06-14 01:21:30 +03:00
More benchmarks.
This commit is contained in:
@ -73,8 +73,7 @@ func (c *Pipeline) Exec() ([]Cmder, error) {
|
||||
}
|
||||
|
||||
func (c *Pipeline) execCmds(cn *conn, cmds []Cmder) error {
|
||||
err := c.writeCmd(cn, cmds...)
|
||||
if err != nil {
|
||||
if err := c.writeCmd(cn, cmds...); err != nil {
|
||||
setCmdsErr(cmds, err)
|
||||
return err
|
||||
}
|
||||
|
Reference in New Issue
Block a user