Skip to content

Commit c34f01f

Browse files
committed
CURLMOPT_MAX_HOST_CONNECTIONS removed
1 parent 3afeca8 commit c34f01f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ClickHouseSlots.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ public function slotAdd($slot, $curl_h, $slot_hook = false)
187187
if (!$this->multi_h) {
188188
$this->multi_h = \curl_multi_init();
189189
curl_multi_setopt($this->multi_h, \CURLMOPT_MAXCONNECTS, 1023);
190-
curl_multi_setopt($this->multi_h, \CURLMOPT_MAX_HOST_CONNECTIONS, 1023);
190+
//curl_multi_setopt($this->multi_h, \CURLMOPT_MAX_HOST_CONNECTIONS, 1023);
191191
}
192192
$ans = \curl_multi_add_handle($this->multi_h, $curl_h);
193193
if (!$this->multi_h || ($ans !== 0)) {

0 commit comments

Comments
 (0)