Skip to content

Commit 5711339

Browse files
committed
* 修复连接峰值的最小阀值
1 parent 01ff32e commit 5711339

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Pools/AsynPool.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ public function workerInit($workerId)
176176
public function pushToPool($client)
177177
{
178178
$maxTime = $this->config[static::ASYN_NAME][$this->active]['max_time'] ?? 3600;
179-
$minConn = $this->config[static::ASYN_NAME][$this->active]['min_conn'] ?? 10;
179+
$minConn = $this->config[static::ASYN_NAME][$this->active]['min_conn'] ?? 0;
180180

181181
//回归连接
182182
if (((time() - $client->genTime) < $maxTime)

0 commit comments

Comments
 (0)