Open PierreLaville opened 1 month ago
Currently: takes all available. Todo: set number of workers as an argument (default: all ; all - 1 ; all - X ?)
Set with max_workers=XX: Ex. ProcessPoolExecutor(max_workers=12) https://github.com/huguesrichard/Allopipe/blob/660b3ff2a2d408e61a8dea9dea6195f89bf1af93/src/multiprocess_ams.py#L97
max_workers=XX
ProcessPoolExecutor(max_workers=12)
Currently: takes all available. Todo: set number of workers as an argument (default: all ; all - 1 ; all - X ?)
Set with
max_workers=XX
: Ex.ProcessPoolExecutor(max_workers=12)
https://github.com/huguesrichard/Allopipe/blob/660b3ff2a2d408e61a8dea9dea6195f89bf1af93/src/multiprocess_ams.py#L97