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 (#302)
  • Loading branch information
recursix authored Jan 6, 2025
1 parent a5e3b46 commit ec6b802
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 ec6b802

Please sign in to comment.