Refactoring in VRP
- Remove unnesessary multiprocess iteration
- Optimize arguments
- Also add a small refactoring in PFG
- Fix a bug with missed queue close in VRP. If a
None
element (queue close) is catched indrain_queue
it does not added to result data, and VRP may miss it, and leavereceiving = True
. So, on the next iteration there is again an access to closed queue. - Move creation of
child resources
only for child processes. Previousely, it is created for every one, and sometimes is empty.
Edited by Андрианов Павел Сергеевич