diff --git a/System/Abstracts/BaseApplication.php b/System/Abstracts/BaseApplication.php index 808c435a..9c58f01f 100644 --- a/System/Abstracts/BaseApplication.php +++ b/System/Abstracts/BaseApplication.php @@ -319,7 +319,7 @@ abstract class BaseApplication extends Service */ public function getMysqlFromPool(): Connection { - return $this->get('pool')->getDb(); + return $this->get('connections'); } @@ -329,7 +329,7 @@ abstract class BaseApplication extends Service */ public function getRedisFromPool(): SRedis { - return $this->get('pool')->getRedis(); + return $this->get('redis_connections'); }