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

retry kernel_info_requests in wait_for_ready #592

Merged
merged 1 commit into from
Dec 21, 2020

Conversation

SylvainCorlay
Copy link
Member

@SylvainCorlay SylvainCorlay commented Dec 4, 2020

This changes the logic of wait_for_ready to continue sending info request until there is some IOPub message as a response.

@jasongrout
Copy link
Member

Can you fill out some reasoning in the description? Thanks!

@minrk
Copy link
Member

minrk commented Dec 9, 2020

Related to #593. While this doesn't truly solve the issue, it slightly increases the likelihood of iopub being fully connected and subscribed for that first message.

@SylvainCorlay
Copy link
Member Author

I was going to describe this a bit more, but I just opened this so that this change is somewhere for reference.

@SylvainCorlay SylvainCorlay changed the title Start IOPub first Change wait_for_ready logic. Dec 9, 2020
@SylvainCorlay SylvainCorlay force-pushed the iopub-first branch 3 times, most recently from 885620a to 7a063dc Compare December 9, 2020 18:23
Untitled.ipynb Outdated Show resolved Hide resolved
@SylvainCorlay SylvainCorlay force-pushed the iopub-first branch 2 times, most recently from c983275 to 7d3cdce Compare December 9, 2020 18:53
@SylvainCorlay
Copy link
Member Author

This is ready to go @minrk.

I had to change the test to check for parent id of responses because there may be older kernel info replies coming late to the party.

Now looking into jupyter_server and notebook.

@minrk minrk changed the title Change wait_for_ready logic. retry kernel_info_requests in wait_for_ready Dec 21, 2020
@minrk minrk merged commit ce42346 into jupyter:master Dec 21, 2020
@SylvainCorlay SylvainCorlay deleted the iopub-first branch July 20, 2022 15:16
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.

3 participants