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

Add fetchEntryTimeout option #61

merged 2 commits into from Jul 22, 2019


Copy link

chmanie commented Jul 18, 2019

This adds a fetchEntryTimeout option to the store options for the constructor as well as the load() function (as the second argument) to allow for full flexibility when loading a store.

Defining a timeout makes sure that the store won't get stuck forever on loading when an entry is not available on IPFS.

This has an accompanying PR in ipfs-log: orbitdb/ipfs-log#258.

Resolves #60.

@chmanie chmanie changed the title Add fetchHeadTimeout option Add fetchEntryTimeout option Jul 18, 2019
@shamb0t shamb0t merged commit 1a38768 into orbitdb:master Jul 22, 2019

This comment has been minimized.

Copy link

shamb0t commented Jul 22, 2019

Thank you @chmanie!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
2 participants
You can’t perform that action at this time.