Skip to content

Commit

Permalink
Merge pull request #67 from leeseungchae/fix/multiprocessing
Browse files Browse the repository at this point in the history
[modify] multiprocessing
  • Loading branch information
hyunwoongko authored Jul 14, 2023
2 parents d20e896 + 5075416 commit fc13b86
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions kss/_utils/multiprocessing.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,6 @@ def _run_job(
else:
with mp.Pool(num_workers) as pool:
output = pool.map(func, inputs)
pool.close()
pool.join()
return output

0 comments on commit fc13b86

Please sign in to comment.