good morning!!!!

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

a

parent b5d79fa0
No related branches found
No related tags found
No related merge requests found
Pipeline #59528 passed
......@@ -60,11 +60,9 @@ func ServeCodec(ctx context.Context, remote jsonrpc.ReaderWriter, handler jsonrp
}
}
}()
wg := sync.WaitGroup{}
// this errgroup controls the max concurrent requests per codec
for batch := range batches {
incoming, batch := batch.Messages, batch.Batch
wg.Add(1)
responder := &callResponder{
peerinfo: remote.PeerInfo(),
batch: batch,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment