Skip to content

Commit

Permalink
fix: correct argument passing for multiprocessing in massage_task_wit…
Browse files Browse the repository at this point in the history
…hin_subprocess
  • Loading branch information
recursix committed Jan 3, 2025
1 parent a5e3b46 commit 741c3d8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ def run_massage(outcome_queue: mp.Queue):
outcome_queue.put(outcome)

queue = mp.Queue()
process = mp.Process(target=run_massage, args=queue)
process = mp.Process(target=run_massage, args=(queue,))
process.start()
process.join(timeout=timeout)

Expand Down

0 comments on commit 741c3d8

Please sign in to comment.