forked from phoenix/litellm-mirror
test_redis_with_ssl
This commit is contained in:
parent
5aa49ad099
commit
51ad8d0425
1 changed files with 1 additions and 0 deletions
|
@ -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"),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue