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

allow bitswap to attempt to write blocks to disk multiple times #1469

Merged
merged 2 commits into from
Jul 14, 2015

Conversation

whyrusleeping
Copy link
Member

Tells bitswap to retry writing the block multiple times with a progressively larger delay to try and avoid 'too many open file descriptor' temporary errors.

License: MIT
Signed-off-by: Jeromy jeromyj@gmail.com

License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
@whyrusleeping whyrusleeping added the status/in-progress In progress label Jul 13, 2015
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
@whyrusleeping
Copy link
Member Author

This should help (but not likely fix entirely) the too many open file descriptors problem @diasdavid encountered.

@jbenet
Copy link
Member

jbenet commented Jul 14, 2015

This LGTM.

jbenet added a commit that referenced this pull request Jul 14, 2015
allow bitswap to attempt to write blocks to disk multiple times
@jbenet jbenet merged commit eee61b0 into master Jul 14, 2015
@jbenet jbenet removed the status/in-progress In progress label Jul 14, 2015
@jbenet jbenet deleted the fix/bitswap-writeblock branch July 14, 2015 01:14
@jbenet jbenet modified the milestone: IPFS 0.3.6 Jul 28, 2015
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

Successfully merging this pull request may close these issues.

None yet

2 participants