aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2023-12-03 09:14:55 +0100
committerJulius Härtl <jus@bitgrid.net>2023-12-16 20:27:37 +0100
commit79c4986354da2c7dd102de21174114e7687daf98 (patch)
tree1f8ace9f815c53e5b79f42aafd963e635d746b33 /config
parent9c4467461c2bc08e621c1e8a7d88389c387815c5 (diff)
downloadnextcloud-server-79c4986354da2c7dd102de21174114e7687daf98.tar.gz
nextcloud-server-79c4986354da2c7dd102de21174114e7687daf98.zip
enh: Implement PrimaryReadReplicaConnection
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'config')
-rw-r--r--config/config.sample.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/config/config.sample.php b/config/config.sample.php
index a1f7332c404..bafe999743b 100644
--- a/config/config.sample.php
+++ b/config/config.sample.php
@@ -152,6 +152,14 @@ $CONFIG = [
'dbpersistent' => '',
/**
+ * Specify read only replicas to be used by Nextcloud when querying the database
+ */
+'dbreplica' => [
+ ['user' => 'replica1', 'password', 'host' => '', 'dbname' => ''],
+ ['user' => 'replica1', 'password', 'host' => '', 'dbname' => ''],
+],
+
+/**
* Indicates whether the Nextcloud instance was installed successfully; ``true``
* indicates a successful installation, and ``false`` indicates an unsuccessful
* installation.