Skip to content

Commit 9aebeb8

Browse files
committed
Merge pull request php-curl-class#117 from mangeld/patch-1
Fixed cpu draining with parallel requests
2 parents 3d03d25 + 224eab6 commit 9aebeb8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Curl/Curl.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ public function get($url_mixed, $data = array())
8888
}
8989

9090
do {
91+
curl_multi_select($curl_multi);
9192
$status = curl_multi_exec($curl_multi, $active);
9293
} while ($status === CURLM_CALL_MULTI_PERFORM || $active);
9394

0 commit comments

Comments
 (0)