From 90f3379dfca363aa6e1f2645bcef2a33b97fcfde Mon Sep 17 00:00:00 2001 From: Retidurc Silvernight Date: Thu, 16 Jun 2022 14:30:46 +0200 Subject: Expose Doctrine settings in Netxcloud settings Signed-off-by: Retidurc Silvernight --- lib/private/DB/ConnectionFactory.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib') diff --git a/lib/private/DB/ConnectionFactory.php b/lib/private/DB/ConnectionFactory.php index 95f3185bcdb..658b02b8ad2 100644 --- a/lib/private/DB/ConnectionFactory.php +++ b/lib/private/DB/ConnectionFactory.php @@ -233,6 +233,10 @@ class ConnectionFactory { ]; } + if ($this->config->getValue('persistent', false)) { + $connectionParams['persistent'] = true; + } + return $connectionParams; } -- cgit v1.2.3