mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-06-14 15:25:17 +02:00
feat: +to_redis_key
This commit is contained in:
parent
0e717a0537
commit
308f83c82c
1 changed files with 1 additions and 1 deletions
|
|
@ -192,7 +192,7 @@ class Redis:
|
|||
host = self._config["host"]
|
||||
port = int(self._config["port"])
|
||||
pwd = self._config["password"]
|
||||
db = int(self._config["db"])
|
||||
db = self._config["db"]
|
||||
RedisManager.init_redis_conn(host=host, port=port, password=pwd, db=db)
|
||||
except Exception as e:
|
||||
logger.warning(f"Redis initialization has failed:{e}")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue