guzzle concurrent request, wait for finished batch before sending next
问题 I thought this following code would work this way: a batch in the number of CONCURRENT_REQUESTS is send it is waited until all of these requests are finished the next batch of the above number is send and so on but in reality if I comment line 14 [ usleep(...) ] it seems the request batches are send as fast as possible generating thousands of queries to the server. Is it possible to change it? How do I change this behavior? <?php $pool = $this->getPool(); if (false !== $pool) { $pool->promise