Skip to content
This repository has been archived by the owner on Mar 12, 2020. It is now read-only.

add DoneChan to the bootstrap config #88

Closed
sanderpick opened this issue May 5, 2018 · 0 comments
Closed

add DoneChan to the bootstrap config #88

sanderpick opened this issue May 5, 2018 · 0 comments

Comments

@sanderpick
Copy link
Member

As mentioned on the OB fork of go-ipfs: https://github.com/OpenBazaar/go-ipfs

"core/bootstrap.go add DoneChan to the bootstrap config which is closed when the inital bootstrap finishes. This is in place of blocking for the initial bootstrap."

So, it's an asyn operation instead of blocking. Most of the node's startup time is here, waiting for bootstrap, and it's quite variable. If we enable this too, the start up experience of the app will be much nicer:

  • no need to wait for the node to come fully online to present the UI (thumbs, etc. are available offline)
  • anything in SQLite can be available offline as well
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant