good morning!!!!

Skip to content
Snippets Groups Projects
Verified Commit 6ef54692 authored by a's avatar a
Browse files

noot

parent 1f1e7a3c
Branches
Tags
No related merge requests found
...@@ -32,9 +32,10 @@ func runTestCase(ctx context.Context, client jsonrpc.Conn, method string, parall ...@@ -32,9 +32,10 @@ func runTestCase(ctx context.Context, client jsonrpc.Conn, method string, parall
return client.Do(ctx, nil, method, nil) return client.Do(ctx, nil, method, nil)
} }
var wg sync.WaitGroup var wg sync.WaitGroup
errs := make(chan error, 16) count := 10
errs := make(chan error, count)
for i := 0; i < 16; i++ { for i := 0; i < count; i++ {
wg.Add(1) wg.Add(1)
go func() { go func() {
defer wg.Done() defer wg.Done()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment