Skip to content

Commit 2b3d60e

Browse files
authored
Add files via upload
1 parent 1e1579d commit 2b3d60e

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

multioptpy/Wrapper/mapper.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3014,6 +3014,9 @@ def _run_batch_parallel(
30143014
if proc.is_alive():
30153015
proc.terminate()
30163016
proc.join(timeout=10)
3017+
if proc.is_alive():
3018+
proc.kill()
3019+
proc.join(timeout=10)
30173020

30183021
self._process_single_result(task, run_dir, [], "FAILED", iteration, history_log)
30193022

@@ -3585,6 +3588,9 @@ def _run_autots(self, task: ExplorationTask, run_dir: str) -> list[str]:
35853588
if proc.is_alive():
35863589
proc.terminate()
35873590
proc.join(timeout=10)
3591+
if proc.is_alive():
3592+
proc.kill()
3593+
proc.join(timeout=10)
35883594

35893595
if tag == "err":
35903596
# payload is a formatted traceback string (see _autots_worker_with_queue).

0 commit comments

Comments
 (0)