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

feat: provide only root, and only at the end of add #406

Merged
merged 6 commits into from
Oct 25, 2022

Conversation

rklaehn
Copy link
Contributor

@rklaehn rklaehn commented Oct 24, 2022

We are still waiting for the start_provide of the root to complete

@rklaehn rklaehn requested a review from b5 October 24, 2022 17:31
We are still waiting for the add to complete
@rklaehn
Copy link
Contributor Author

rklaehn commented Oct 24, 2022

Added progress for the DHT update. And it is really easy to switch from "provide just root" to "provide all"

@rklaehn rklaehn marked this pull request as ready for review October 24, 2022 19:26
Copy link
Member

@b5 b5 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've hijacked this PR to add a few important additional things:

  1. Add now requires p2p service is running. We need to get p2p load-on-start is for and for root CIDs only with this change. An early check confirms the service is up before proceeding.
  2. That check warns the user with the specific service that's missing & a hint to run iroh start $SERVICE
  3. I've added an --all flag to iroh start, based on issues asmir was having with running quick benchmarks, and p2p not being part of the default set of services

@b5 b5 merged commit 96c6148 into main Oct 25, 2022
@b5 b5 deleted the rklaehn/separate-provide branch October 26, 2022 02:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants