diff options
author | Retidurc Silvernight <retidurc@silvernight.social> | 2022-06-16 14:30:46 +0200 |
---|---|---|
committer | Retidurc Silvernight <retidurc@silvernight.social> | 2022-09-23 09:47:56 +0200 |
commit | 90f3379dfca363aa6e1f2645bcef2a33b97fcfde (patch) | |
tree | 1e5606baed4a5de82469692a0706d40646ed8f51 /lib/private/DB | |
parent | 11ec90d8aeed7f0b893b4dec3d6fd9332376c035 (diff) | |
download | nextcloud-server-90f3379dfca363aa6e1f2645bcef2a33b97fcfde.tar.gz nextcloud-server-90f3379dfca363aa6e1f2645bcef2a33b97fcfde.zip |
Expose Doctrine settings in Netxcloud settings
Signed-off-by: Retidurc Silvernight <retidurc@silvernight.social>
Diffstat (limited to 'lib/private/DB')
-rw-r--r-- | lib/private/DB/ConnectionFactory.php | 4 |
1 files changed, 4 insertions, 0 deletions
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; } |