diff --git a/kiri-engine/Pool/Pool.php b/kiri-engine/Pool/Pool.php index 59c92fc4..fa33f5b9 100644 --- a/kiri-engine/Pool/Pool.php +++ b/kiri-engine/Pool/Pool.php @@ -65,15 +65,14 @@ class Pool extends Component public function check($name): array { $channel = $this->channel($name); - var_dump($channel->length()); if ($channel->length() < 1) { return [0, 0]; } - $count = $success = 0; + $success = 0; $lists = []; + $count = $channel->length(); while (($pdo = $channel->pop()) instanceof PDO) { - $count += 1; if ($pdo->check()) { $success += 1; }