- Notifications
You must be signed in to change notification settings - Fork5.5k
add kernel_info_timeout traitlet for slow kernel start/restart#3665
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
mpacer commentedJun 6, 2018 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Now it does this. |
This affects both the MappingKernelManager and the ZMQChannelsHandler(by extension). This allows one setting to apply to both startup andrestarting.
| """ | ||
| ) | ||
| kernel_info_timeout=Float(60,config=True, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Excellent!
rgbkrk left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Super fan of this since we've been dealing with slower spark-backed kernels at Netflix.
mpacer commentedJun 8, 2018
@Carreau@gnestor@takluyver@minrk Are there any issues with this going forward? |
minrk commentedJun 8, 2018
Great! |
Uh oh!
There was an error while loading.Please reload this page.
This allows you to configure how long the notebook waits for a kernel give its
kernel_info_reply.I looked into adding a test, but I think that this would require a good bit of machinery to test properly. I can do that if we want to, but it looks like we're not testing the functionality of most other traitlets directly.
Note: this is not kernel specific… but I don't think we have any way to do kernel specific configuration for the handler as of today.