aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/DB
diff options
context:
space:
mode:
authorRetidurc Silvernight <retidurc@silvernight.social>2022-06-16 14:30:46 +0200
committerRetidurc Silvernight <retidurc@silvernight.social>2022-09-23 09:47:56 +0200
commit90f3379dfca363aa6e1f2645bcef2a33b97fcfde (patch)
tree1e5606baed4a5de82469692a0706d40646ed8f51 /lib/private/DB
parent11ec90d8aeed7f0b893b4dec3d6fd9332376c035 (diff)
downloadnextcloud-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.php4
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;
}