Skip to content

Commit 3d0bc9d

Browse files
committed
leave loky as deafult, change back in different PR
1 parent e540f5a commit 3d0bc9d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

adaptive/runner.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,9 @@
4646
asyncio.set_event_loop_policy(uvloop.EventLoopPolicy())
4747

4848

49-
_default_executor = concurrent.ProcessPoolExecutor
49+
_default_executor = (
50+
loky.get_reusable_executor if with_loky else concurrent.ProcessPoolExecutor
51+
)
5052

5153

5254
class BaseRunner(metaclass=abc.ABCMeta):

0 commit comments

Comments
 (0)