Skip to content

Commit e38882a

Browse files
committed
force multiprocessing start method to be "spawn" at the start of extension
1 parent 5928d76 commit e38882a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

jupyter_scheduler/extension.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
import asyncio
2+
import multiprocessing
3+
4+
multiprocessing.set_start_method("spawn", force=True)
25

36
from jupyter_core.paths import jupyter_data_dir
47
from jupyter_server.extension.application import ExtensionApp

0 commit comments

Comments
 (0)