diff --git a/System/Abstracts/Pool.php b/System/Abstracts/Pool.php index 663ef8ab..089c61ff 100644 --- a/System/Abstracts/Pool.php +++ b/System/Abstracts/Pool.php @@ -205,7 +205,6 @@ abstract class Pool extends Component } } - protected int $creates = 0; protected int $lastTime = 0; diff --git a/System/Pool/Connection.php b/System/Pool/Connection.php index 7e2eef12..f475322d 100644 --- a/System/Pool/Connection.php +++ b/System/Pool/Connection.php @@ -25,6 +25,8 @@ class Connection extends Pool /** @var PDO[] */ protected array $connections = []; + public int $creates = 0; + /** * @param $timeout diff --git a/System/Pool/Redis.php b/System/Pool/Redis.php index 1245fe65..d1b98e44 100644 --- a/System/Pool/Redis.php +++ b/System/Pool/Redis.php @@ -23,6 +23,7 @@ class Redis extends Pool private int $_create = 0; + public int $creates = 0; /** * @param $value