This is meant as a boilerplate for setting up distributed jobs in jenkins by batching and starting jobs from only a few threads, adjusting parameters adjusts the load put on executors and the controller. Recommended to use together with least load - https://plugins.jenkins.io/leastload