diff options
author | clokep <clokep@users.noreply.github.com> | 2023-02-15 12:40:31 +0000 |
---|---|---|
committer | clokep <clokep@users.noreply.github.com> | 2023-02-15 12:40:31 +0000 |
commit | 5d1d53b33d0a8ae7092637bd3f38790640198db6 (patch) | |
tree | 2cea311b14dfde9f2e7ba662445c7ef24096e473 /develop/print.html | |
parent | deploy: 3e90dfdd81c2c6dcaf1f21f24fbca0a4c820b150 (diff) | |
download | synapse-5d1d53b33d0a8ae7092637bd3f38790640198db6.tar.xz |
deploy: 27a3a72a50cb24f25e48fad1e6e79aba2cd1bea2
Diffstat (limited to 'develop/print.html')
-rw-r--r-- | develop/print.html | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/develop/print.html b/develop/print.html index 241c092534..340ac9b223 100644 --- a/develop/print.html +++ b/develop/print.html @@ -6873,10 +6873,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: @@ -6884,6 +6894,7 @@ localhost and 6379</li> host: localhost port: 6379 password: <secret_password> + dbid: <dbid> </code></pre> <hr /> <h2 id="individual-worker-configuration"><a class="header" href="#individual-worker-configuration">Individual worker configuration</a></h2> |