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:
@ -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() {
|
||||
|
Reference in New Issue
Block a user