1
0
mirror of https://github.com/redis/go-redis.git synced 2025-07-28 06:42:00 +03:00

Fix WrapProcess for Ring and Cluster. Add better example.

This commit is contained in:
Vladimir Mihailenco
2016-11-30 12:39:14 +02:00
parent b148c1afd3
commit 82f21639bf
7 changed files with 124 additions and 61 deletions

View File

@ -152,7 +152,7 @@ var _ = Describe("Pipelining", func() {
const N = 1000
pipeline := client.Pipeline()
wg := &sync.WaitGroup{}
var wg sync.WaitGroup
wg.Add(N)
for i := 0; i < N; i++ {
go func() {