mirror of
https://github.com/redis/go-redis.git
synced 2025-07-29 17:41:15 +03:00
Include multi & exec in pipeline hook
This commit is contained in:
2
tx.go
2
tx.go
@ -151,7 +151,7 @@ func (c *Tx) TxPipeline() Pipeliner {
|
||||
pipe := Pipeline{
|
||||
ctx: c.ctx,
|
||||
exec: func(ctx context.Context, cmds []Cmder) error {
|
||||
return c.hooks.processPipeline(ctx, cmds, c.baseClient.processTxPipeline)
|
||||
return c.hooks.processTxPipeline(ctx, cmds, c.baseClient.processTxPipeline)
|
||||
},
|
||||
}
|
||||
pipe.init()
|
||||
|
Reference in New Issue
Block a user