Skip to content

Commit

Permalink
Fix for exectutor_type="sequential" (#238)
Browse files Browse the repository at this point in the history
  • Loading branch information
basnijholt authored Oct 10, 2024
1 parent 1fab4f3 commit bb8cc13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion adaptive_scheduler/_server_support/launcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ def main() -> None:
if initializer is not None:
initializer()

if args.executor_type == "process-pool":
if args.executor_type in ("process-pool", "sequential"):
learner.function = WrappedFunction(learner.function)

with suppress(Exception):
Expand Down

0 comments on commit bb8cc13

Please sign in to comment.