diff --git a/System/Abstracts/Pool.php b/System/Abstracts/Pool.php index cb7e35fa..82af7cc7 100644 --- a/System/Abstracts/Pool.php +++ b/System/Abstracts/Pool.php @@ -81,9 +81,9 @@ abstract class Pool extends Component } else { $min = Config::get('databases.pool.min', 1); if (($length = $this->getChannel($name)->length()) > $min) { + $this->debug("$length -> min length $min"); $this->flush($min); } - $this->debug("$length -> min length $min"); } }