Skip to content
This repository has been archived by the owner on Apr 5, 2023. It is now read-only.

This can be optimized by sending one request to endorsers that have multiple key... #103

Open
todo bot opened this issue May 22, 2019 · 0 comments
Open
Assignees

Comments

@todo
Copy link

todo bot commented May 22, 2019

// TODO: This can be optimized by sending one request to endorsers that have multiple keys, as opposed to one request per key.
responses := make(map[string]*valueResp)
for _, k := range key.Keys {
go func(key *storeapi.Key) {
cctxt, cancel := context.WithCancel(ctxt)
defer cancel()


This issue was generated by todo based on a TODO comment in 08d7352 when #102 was merged. cc @bstasyszyn.
@todo todo bot added the todo 🗒️ label May 22, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant