pull/13652/head
chenjh3 1 year ago
parent e4da9823f8
commit efe0ed5d52

@ -128,9 +128,9 @@ def init_app(app: DifyApp):
] ]
# FIXME: mypy error here, try to figure out how to fix it # FIXME: mypy error here, try to figure out how to fix it
redis_client.initialize( redis_client.initialize(
RedisCluster(startup_nodes=nodes, password=dify_config.REDIS_CLUSTERS_PASSWORD), RedisCluster(startup_nodes=nodes, password=dify_config.REDIS_CLUSTERS_PASSWORD), # type: ignore
prefix=dify_config.REDIS_KEY_PREFIX, prefix=dify_config.REDIS_KEY_PREFIX,
) # type: ignore )
else: else:
redis_params.update( redis_params.update(
{ {

Loading…
Cancel
Save