Skip to content

add Client.wait_for_engines(n)#479

Merged
minrk merged 1 commit intoipython:mainfrom
minrk:wait-for-engines
Jun 9, 2021
Merged

add Client.wait_for_engines(n)#479
minrk merged 1 commit intoipython:mainfrom
minrk:wait-for-engines

Conversation

@minrk
Copy link
Copy Markdown
Member

@minrk minrk commented Jun 9, 2021

handy method to wait for a number of engines to be ready

While this doesn't implement the proposed approach in #241, this implements what I think is the right way to wait for engines to be registered.

closes #241

handy method to wait for a number of engines to be ready
Copy link
Copy Markdown
Collaborator

@sahil1105 sahil1105 left a comment

Choose a reason for hiding this comment

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

Looks great to me. Thanks!

@minrk minrk merged commit db8f354 into ipython:main Jun 9, 2021
@jakirkham
Copy link
Copy Markdown
Contributor

That's a nice solution Min! 😄

@minrk minrk deleted the wait-for-engines branch June 9, 2021 18:10
@minrk
Copy link
Copy Markdown
Member Author

minrk commented Jun 9, 2021

Thanks! I've used this so many times, including in the tests themselves and multiple demos, it was a bit silly for it not to be a method already.

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.

Daemonize after engines start

3 participants