summary refs log tree commit diff
path: root/develop/usage/configuration/config_documentation.html
diff options
context:
space:
mode:
authorclokep <clokep@users.noreply.github.com>2023-02-15 12:40:31 +0000
committerclokep <clokep@users.noreply.github.com>2023-02-15 12:40:31 +0000
commit5d1d53b33d0a8ae7092637bd3f38790640198db6 (patch)
tree2cea311b14dfde9f2e7ba662445c7ef24096e473 /develop/usage/configuration/config_documentation.html
parentdeploy: 3e90dfdd81c2c6dcaf1f21f24fbca0a4c820b150 (diff)
downloadsynapse-5d1d53b33d0a8ae7092637bd3f38790640198db6.tar.xz
deploy: 27a3a72a50cb24f25e48fad1e6e79aba2cd1bea2
Diffstat (limited to 'develop/usage/configuration/config_documentation.html')
-rw-r--r--develop/usage/configuration/config_documentation.html19
1 files changed, 15 insertions, 4 deletions
diff --git a/develop/usage/configuration/config_documentation.html b/develop/usage/configuration/config_documentation.html

index f2f57562d4..3832530bf8 100644 --- a/develop/usage/configuration/config_documentation.html +++ b/develop/usage/configuration/config_documentation.html
@@ -3501,10 +3501,20 @@ this defaults to the main process or your single <code>media_repository</code> w <p>Configuration for Redis when using workers. This <em>must</em> be enabled when using workers. This setting has the following sub-options:</p> <ul> -<li><code>enabled</code>: whether to use Redis support. Defaults to false.</li> -<li><code>host</code> and <code>port</code>: Optional host and port to use to connect to redis. Defaults to -localhost and 6379</li> -<li><code>password</code>: Optional password if configured on the Redis instance.</li> +<li> +<p><code>enabled</code>: whether to use Redis support. Defaults to false.</p> +</li> +<li> +<p><code>host</code> and <code>port</code>: Optional host and port to use to connect to redis. Defaults to +localhost and 6379</p> +</li> +<li> +<p><code>password</code>: Optional password if configured on the Redis instance.</p> +</li> +<li> +<p><code>dbid</code>: Optional redis dbid if needs to connect to specific redis logical db.</p> +<p><em>Added in Synapse 1.78.0.</em></p> +</li> </ul> <p>Example configuration:</p> <pre><code class="language-yaml">redis: @@ -3512,6 +3522,7 @@ localhost and 6379</li> host: localhost port: 6379 password: &lt;secret_password&gt; + dbid: &lt;dbid&gt; </code></pre> <hr /> <h2 id="individual-worker-configuration"><a class="header" href="#individual-worker-configuration">Individual worker configuration</a></h2>