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:
@ -254,7 +254,7 @@ func BenchmarkClusterPing(b *testing.B) {
|
||||
}
|
||||
defer stopCluster(cluster)
|
||||
|
||||
client := cluster.clusterClient(redisClusterOptions())
|
||||
client := cluster.newClusterClient(redisClusterOptions())
|
||||
defer client.Close()
|
||||
|
||||
b.ResetTimer()
|
||||
@ -280,7 +280,7 @@ func BenchmarkClusterSetString(b *testing.B) {
|
||||
}
|
||||
defer stopCluster(cluster)
|
||||
|
||||
client := cluster.clusterClient(redisClusterOptions())
|
||||
client := cluster.newClusterClient(redisClusterOptions())
|
||||
defer client.Close()
|
||||
|
||||
value := string(bytes.Repeat([]byte{'1'}, 10000))
|
||||
@ -308,7 +308,7 @@ func BenchmarkClusterReloadState(b *testing.B) {
|
||||
}
|
||||
defer stopCluster(cluster)
|
||||
|
||||
client := cluster.clusterClient(redisClusterOptions())
|
||||
client := cluster.newClusterClient(redisClusterOptions())
|
||||
defer client.Close()
|
||||
|
||||
b.ResetTimer()
|
||||
|
Reference in New Issue
Block a user