mirror of
https://github.com/nextcloud/server.git
synced 2026-04-24 15:53:36 -04:00
Merge pull request #44470 from nextcloud/fix/compatibility-replica-splitting
This commit is contained in:
commit
b304dc78f8
1 changed files with 1 additions and 1 deletions
|
|
@ -242,7 +242,7 @@ class ConnectionFactory {
|
|||
$connectionParams['persistent'] = true;
|
||||
}
|
||||
|
||||
$replica = $this->config->getValue('dbreplica', []) ?: [$connectionParams];
|
||||
$replica = $this->config->getValue($configPrefix . 'dbreplica', $this->config->getValue('dbreplica', [])) ?: [$connectionParams];
|
||||
return array_merge($connectionParams, [
|
||||
'primary' => $connectionParams,
|
||||
'replica' => $replica,
|
||||
|
|
|
|||
Loading…
Reference in a new issue