Add option to disable starting of multiple Kernels for a single interactive notebook #1269
Labels
interactive-window
Impacts interactive window
notebook-execution
Kernels issues (start/restart/switch/execution, install ipykernel)
It seems that when we start executing an interactive notebook in the python extension with VSCode two kernels are created. Looking through previously raised issues in this repo, this behaviour is intentional as a way to allow quick restarting of a kernel by switching over to a pre-warmed idle kernel. This may be a nice feature for some users, but for others is undesirable.
In our use case we are using a remote jupyter instance and some preconfigured pyspark kernels. In this case launching multiple kernels is undesired for the following reasons.
For our use case we would much rather have an option to turn off starting multiple kernels, and simply wait 10-15 seconds for a new kernel creation rather than taking up the resources and making sessions that will usually remain idle and unused. Having two kernels start for a single user session is quite an unexpected side effect for people new to VSCode who have been working with notebooks directly in jupyterlab.
The text was updated successfully, but these errors were encountered: