diff --git a/System/Pool/Connection.php b/System/Pool/Connection.php index 7ab3db02..f60d0b45 100644 --- a/System/Pool/Connection.php +++ b/System/Pool/Connection.php @@ -265,9 +265,9 @@ class Connection extends Pool public function checkCanUse($name, $time, $connect) { try { -// if ($time + 60 * 10 < time()) { -// return $result = false; -// } + if ($time + 60 * 10 > time()) { + return $result = false; + } if (empty($connect) || !($connect instanceof PDO)) { return $result = false; }