This commit is contained in:
2021-07-05 16:10:13 +08:00
parent ab32584cf2
commit a03c28d7e5
+4 -4
View File
@@ -91,15 +91,15 @@ class ClientsPool extends Component
$this->flush($channel, $min);
}
$num[$key] += $channel->length();
if (str_starts_with('Mysql:', $key)) {
$total += $channel->length();
}
$this->debug('use client -> ' . $key . ':' . $total);
$total += $channel->length();
}
if ($total < 1) {
Timer::clear($this->creates);
$this->creates = -1;
}
$this->debug('use client ' . $total);
}
}