diff --git a/lib/private/DB/ConnectionFactory.php b/lib/private/DB/ConnectionFactory.php index 95f3185bcdb17..e2894d2b3e6f0 100644 --- a/lib/private/DB/ConnectionFactory.php +++ b/lib/private/DB/ConnectionFactory.php @@ -233,6 +233,10 @@ public function createConnectionParams(string $configPrefix = '') { ]; } + if ($this->config->getValue('persistent',false)){ + $connectionParams['persistent'] = true; + } + return $connectionParams; }