Set default value of --max-tasks to None, which effectively makes pool workers work forever.

Authored by adomaitis on Aug 21 2019, 12:21 PM.



That should be a workaround for issue when multiprocessing spawns a process which never gets a task and that ends up with all pool processes not getting into a state to accept new task and emails start congest. Most probably that is a deadlock situation described in . The solution is in Python3.

Diff Detail

rP pykolab
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

adomaitis requested review of this revision.Aug 21 2019, 12:21 PM
adomaitis created this revision.
vanmeeuwen accepted this revision.Aug 21 2019, 2:16 PM
This revision is now accepted and ready to land.Aug 21 2019, 2:16 PM
This revision was automatically updated to reflect the committed changes.