modify plugin name

This commit is contained in:
2022-06-17 14:30:31 +08:00
parent 824dd399db
commit 287dc99362
2 changed files with 7 additions and 1 deletions
+4 -1
View File
@@ -65,8 +65,11 @@ class Pool extends Component
public function check($name): array
{
$channel = $this->channel($name);
$count = $success = 0;
if ($channel->length() < 1) {
return [0, 0];
}
$count = $success = 0;
$lists = [];
while (($pdo = $channel->pop()) instanceof PDO) {
$count += 1;