Skip to content

Commit 0f189a9

Browse files
Kowserclaude
andcommitted
chore(automator): rename _mp_fork_set -> _mp_spawn_set, drop dead constant
The flag guards set_start_method("spawn"), not fork — the old name described behavior this code stopped having. _VALID_MP_START_METHODS had zero references. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
1 parent c455938 commit 0f189a9

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/conductor/client/automator/task_handler.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,12 @@
3535
)
3636

3737
_decorated_functions = {}
38-
_VALID_MP_START_METHODS = {"spawn", "fork", "forkserver"}
39-
_mp_fork_set = False
40-
if not _mp_fork_set:
38+
39+
_mp_spawn_set = False
40+
if not _mp_spawn_set:
4141
try:
4242
set_start_method("spawn")
43-
_mp_fork_set = True
43+
_mp_spawn_set = True
4444
except Exception as e:
4545
logger.info("error when setting multiprocessing.set_start_method - maybe the context is set %s", e.args)
4646
if platform == "darwin":

0 commit comments

Comments
 (0)