From 83cd9d14eeaa223cdcf47de96812551fde80c986 Mon Sep 17 00:00:00 2001 From: Zach Borboa Date: Tue, 6 Mar 2018 22:17:38 -0800 Subject: [PATCH] Update comment to match new behavior --- src/Curl/MultiCurl.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Curl/MultiCurl.php b/src/Curl/MultiCurl.php index e60bab1..36e5cd7 100644 --- a/src/Curl/MultiCurl.php +++ b/src/Curl/MultiCurl.php @@ -695,7 +695,7 @@ class MultiCurl // Remove completed instance from active curls. unset($this->activeCurls[$key]); - // Start a new request before removing the handle of the completed one. + // Start new requests before removing the handle of the completed one. while (count($this->curls) >= 1 && count($this->activeCurls) < $this->concurrency) { $this->initHandle(array_shift($this->curls)); }