def __init__(self, scheduler_pool):
        self._logger = get_logger(__name__)
        self._scheduler_pool = scheduler_pool
        self._builds_waiting_for_slaves = Queue()
        self._request_queue = Queue()
        self._request_queue_worker_thread = SafeThread(
            target=self._build_preparation_loop, name='RequestHandlerLoop', daemon=True)
        self._project_preparation_locks = {}
        self._subjob_calculator = SubjobCalculator()
:type scheduler_pool: BuildSchedulerPool
dataset/ETHPy150Open box/ClusterRunner/app/master/build_request_handler.py/BuildRequestHandler.__init__