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

Remove Node::wait_for_connected_peers() as no longer necessary #1733

Merged
merged 1 commit into from
Aug 1, 2023

Conversation

nazar-pc
Copy link
Member

@nazar-pc nazar-pc commented Aug 1, 2023

With bootstrapping that happens before any other commands are processed, this is no longer necessary.

Code contributor checklist:

@@ -190,17 +188,6 @@ where
Client: HeaderBackend<Block> + BlockBackend<Block> + Send + Sync + 'static,
IQS: ImportQueueService<Block> + ?Sized,
{
debug!("Waiting for connected peers...");
Copy link
Member

Choose a reason for hiding this comment

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

This should fail if bootstrap works longer than the delay.

@nazar-pc nazar-pc merged commit f20d450 into main Aug 1, 2023
@nazar-pc nazar-pc deleted the remove-wait_for_connected_peers branch August 1, 2023 13:17
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.

2 participants