LDAR-Sim / LDAR_Sim

MIT License
11 stars 22 forks source link

<FEAT>: Limit processes #147

Closed SEAJang closed 9 months ago

SEAJang commented 9 months ago

Pull Request Key Information

Reason for change

There is a potential for extra processes to be spawned with multiprocessing This resource could be used by the actual processes that are working instead of being left idle.

What was changed

If the number of programs is less than the number of available processes, limit the number of processes that are generated to the number of programs.

Intended Purpose

Help with the simulation's resource allocations.

Level of version change required

N/A

Testing Completed

Manual testing