Skip to content

Commit

Permalink
Expose Doctrine settings in Netxcloud settings
Browse files Browse the repository at this point in the history
Signed-off-by: Retidurc Silvernight <retidurc@silvernight.social>
  • Loading branch information
Retidurc committed Sep 15, 2022
1 parent c0c31bd commit 7afa744
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/private/DB/ConnectionFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,10 @@ public function createConnectionParams(string $configPrefix = '') {
];
}

if ($this->config->getValue('persistent', false)) {
$connectionParams['persistent'] = true;
}

return $connectionParams;
}

Expand Down

0 comments on commit 7afa744

Please sign in to comment.