MultiCurlQueue.php
protected function processNext()
    {
        foreach ($this->_status as $i => $status) {
            if ($status === false && ($request = array_shift($this->_queue)) !== null) {
                $this->_status[$i]  = $request;
                $this->_retries[$i] = 0;
                $this->add($request);
            }
        }
    }
protected function processNext()
    {
        foreach ($this->_status as $i => $status) {
            if ($status === false && ($request = array_shift($this->_queue)) !== null) {
                $this->_status[$i]  = $request;
                $this->_retries[$i] = 0;
                $this->add($request);
            }
        }
    }
protected function processNext ( ) { foreach ( $ this -> _status as $ i => $ status ) { if ( $ status === false && ( $ request = array_shift ( $ this -> _queue ) ) !== null ) { $ this -> _status [ $ i ] = $ request ; $ this -> _retries [ $ i ] = 0 ; $ this -> add ( $ request ) ; } } }
Execute free threads
Execute free threads