mengqiankang hai 1 mes
pai
achega
e4e5bd5743
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      alien_gateway/config.py

+ 1 - 1
alien_gateway/config.py

@@ -94,7 +94,7 @@ class Settings(BaseSettings):
         sentinel_pwd = self.REDIS_SENTINEL_PASSWORD or self.REDIS_PASSWORD
         auth = f":{quote(sentinel_pwd, safe='')}@" if sentinel_pwd else ""
         return ";".join(
-            f"redis+sentinel://{host}:{port}/{self.REDIS_DB}"
+            f"sentinel://{host}:{port}/{self.REDIS_DB}"
             for host, port in self.REDIS_SENTINEL_NODES
         )