summary refs log tree commit diff
path: root/docs
diff options
context:
space:
mode:
author999lakhisidhu <42063995+999lakhisidhu@users.noreply.github.com>2023-02-15 16:39:31 +0400
committerGitHub <noreply@github.com>2023-02-15 07:39:31 -0500
commit27a3a72a50cb24f25e48fad1e6e79aba2cd1bea2 (patch)
treee640256d7a26f03bcec1a7bbbf8711ecebb54f49 /docs
parentUpdate the error code for duplicate annotation (#15075) (diff)
downloadsynapse-27a3a72a50cb24f25e48fad1e6e79aba2cd1bea2.tar.xz
Support for selecting the Redis logical database. (#15034)
Note that this is only used for key-value store (cached values)
and not for the pub/sub replication used by Synapse.
Diffstat (limited to 'docs')
-rw-r--r--docs/usage/configuration/config_documentation.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/usage/configuration/config_documentation.md b/docs/usage/configuration/config_documentation.md
index 2883f76a26..75483bfb12 100644
--- a/docs/usage/configuration/config_documentation.md
+++ b/docs/usage/configuration/config_documentation.md
@@ -3927,6 +3927,9 @@ This setting has the following sub-options:
 * `host` and `port`: Optional host and port to use to connect to redis. Defaults to
    localhost and 6379
 * `password`: Optional password if configured on the Redis instance.
+* `dbid`: Optional redis dbid if needs to connect to specific redis logical db.
+
+  _Added in Synapse 1.78.0._
 
 Example configuration:
 ```yaml
@@ -3935,6 +3938,7 @@ redis:
   host: localhost
   port: 6379
   password: <secret_password>
+  dbid: <dbid>
 ```
 ---
 ## Individual worker configuration