test_redis_with_ssl

This commit is contained in:
Ishaan Jaff 2024-11-25 21:36:00 -08:00
parent 5aa49ad099
commit 51ad8d0425

View file

@ -111,6 +111,7 @@ async def test_redis_with_ssl():
from litellm._redis import get_redis_connection_pool, get_redis_async_client
# Get the connection pool with SSL
# REDIS_HOST_WITH_SSL is just a redis cloud instance with Transport layer security (TLS) enabled
pool = get_redis_connection_pool(
host=os.environ.get("REDIS_HOST_WITH_SSL"),
port=os.environ.get("REDIS_PORT_WITH_SSL"),