mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-01-30 15:16:45 +08:00
Fix:Redis configuration template error in v0.22.1 (#12685)
### What problem does this PR solve? https://github.com/infiniflow/ragflow/issues/12674 ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
@ -125,8 +125,8 @@ class RedisDB:
|
||||
def __open__(self):
|
||||
try:
|
||||
conn_params = {
|
||||
"host": self.config["host"].split(":")[0],
|
||||
"port": int(self.config.get("host", ":6379").split(":")[1]),
|
||||
"host": self.config["host"],
|
||||
"port": int(self.config.get("port", 6379)),
|
||||
"db": int(self.config.get("db", 1)),
|
||||
"decode_responses": True,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user