Skip to content

Latest commit

 

History

History
42 lines (25 loc) · 1.06 KB

restarter.rst

File metadata and controls

42 lines (25 loc) · 1.06 KB

Kernel Restarter

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