From 077a18aeafb0e0d9280a4a4499375f6fc18cd413 Mon Sep 17 00:00:00 2001 From: PGF <228375325@qq.com> Date: Wed, 25 Sep 2024 17:30:58 +0800 Subject: [PATCH] Fixed Bug. --- src/ORM/Connector/MysqliConnector.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ORM/Connector/MysqliConnector.php b/src/ORM/Connector/MysqliConnector.php index c4c93f9..e9fd073 100644 --- a/src/ORM/Connector/MysqliConnector.php +++ b/src/ORM/Connector/MysqliConnector.php @@ -33,7 +33,7 @@ public function getConnector(mixed $config): Connection 'port' => $config->port, 'driverClass' => Driver::class, 'charset' => $config->charset, - 'persistent' => true, + 'persistent' => $config->persistent, ], $this->getConfiguration(), $this->getEventManager()); } } \ No newline at end of file