Skip to content

Commit

Permalink
leave loky as deafult, change back in different PR
Browse files Browse the repository at this point in the history
  • Loading branch information
basnijholt committed Sep 17, 2020
1 parent e540f5a commit 3d0bc9d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion adaptive/runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,9 @@
asyncio.set_event_loop_policy(uvloop.EventLoopPolicy())


_default_executor = concurrent.ProcessPoolExecutor
_default_executor = (
loky.get_reusable_executor if with_loky else concurrent.ProcessPoolExecutor
)


class BaseRunner(metaclass=abc.ABCMeta):
Expand Down

0 comments on commit 3d0bc9d

Please sign in to comment.