Mike Huls
Aug 30, 2022

--

Very easy! Just add processes=2 in the Pool like:

Pool(processes=2)

I've expanded the article to include limiting the number of processes.

Thanks for your comment!

--

--

Mike Huls
Mike Huls

Written by Mike Huls

I write about interesting programming-related things: techniques, system architecture, software design and how to apply them in the best way. — mikehuls.com

No responses yet