diff --git a/System/Abstracts/Pool.php b/System/Abstracts/Pool.php index 55a70a23..a1026e26 100644 --- a/System/Abstracts/Pool.php +++ b/System/Abstracts/Pool.php @@ -249,8 +249,7 @@ abstract class Pool extends Component if (!isset($this->hasCreate[$name])) { $this->hasCreate[$name] = 0; } - var_dump($this->hasCreate[$name] . '->' . $this->max); - return $this->hasCreate[$name] >= $this->max; + return $this->hasCreate[$name] < $this->max; }