The Kernel Restarter API is used by applications wishing to perform automatic kernel restarts upon detection of the kernel's unexpected termination. jupyter_kernel_mgmt
provides .KernelRestarterBase
and provides an implementation of that class for Tornado-based applications via .TornadoKernelRestarter
.
jupyter_kernel_mgmt.restarter
KernelRestarterBase
debug
Whether to include every poll event in debugging output. Has to be set explicitly, because there will be a lot of output.
time_to_dead
Kernel heartbeat interval in seconds.
restart_limit
The number of consecutive autorestarts before the kernel is presumed dead.
start
stop
add_callback
remove_callback
do_restart
poll
TornadoKernelRestarter