summary refs log tree commit diff
path: root/synapse/server.py
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 /synapse/server.py
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 '')
-rw-r--r--synapse/server.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/server.py b/synapse/server.py
index efc6b5f895..e5a3475247 100644
--- a/synapse/server.py
+++ b/synapse/server.py
@@ -827,6 +827,7 @@ class HomeServer(metaclass=abc.ABCMeta):
             hs=self,
             host=self.config.redis.redis_host,
             port=self.config.redis.redis_port,
+            dbid=self.config.redis.redis_dbid,
             password=self.config.redis.redis_password,
             reconnect=True,
         )