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

bitswap: add a deadline to sendmsg calls #3445

Merged
merged 1 commit into from
Dec 5, 2016

Conversation

whyrusleeping
Copy link
Member

Bitswap occasionally gets stuck because writes hang (yamux....). this should at least keep bitswap from getting stuck here due to yamux:

ref: https://ipfs.io/ipfs/QmQn8YDTHWJzF7GVKUKanBzoxbzd5jQpwsgM2PfFVTKuGR

License: MIT
Signed-off-by: Jeromy why@ipfs.io

License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
@whyrusleeping whyrusleeping added the status/in-progress In progress label Nov 29, 2016
@whyrusleeping
Copy link
Member Author

logging these as warnings because if we consider them errors, our tests fail since the mocknet conns don't support setdeadlines

@whyrusleeping whyrusleeping assigned ghost and Kubuxu Dec 1, 2016
@whyrusleeping whyrusleeping added the need/review Needs a review label Dec 2, 2016
@ghost
Copy link

ghost commented Dec 5, 2016

LGTM 👍

@whyrusleeping whyrusleeping merged commit c12f977 into master Dec 5, 2016
@whyrusleeping whyrusleeping deleted the feat/bitswap-sendmsg-deadline branch December 5, 2016 17:17
@whyrusleeping whyrusleeping removed the status/in-progress In progress label Dec 5, 2016
@ghost ghost mentioned this pull request Dec 23, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
need/review Needs a review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants