Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

parallelize addConn #6

Open
jbenet opened this issue May 13, 2015 · 0 comments
Open

parallelize addConn #6

jbenet opened this issue May 13, 2015 · 0 comments

Comments

@jbenet
Copy link
Owner

jbenet commented May 13, 2015

addConn (https://github.com/jbenet/go-peerstream/blob/master/conn.go#L180) happens on the same happens on the same thread as accept (https://github.com/jbenet/go-peerstream/blob/master/listener.go#L89). calls to addConn should be parallelized, for handshakes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant