Skip to content

Commit

Permalink
Update redis_cache_manager.py
Browse files Browse the repository at this point in the history
  • Loading branch information
bonk1t authored Dec 24, 2023
1 parent 5b39e7b commit a3d822b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nalgonda/caching/redis_cache_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class RedisCacheManager(CacheManager):
def __init__(self):
"""Initializes the Redis cache manager"""
redis_url = str(settings.redis_tls_url or settings.redis_url)
self.redis = aioredis.from_url(redis_url, decode_responses=True, ssl_cert_reqs=CERT_NONE)
self.redis = aioredis.from_url(redis_url, decode_responses=True, ssl_cert_reqs="none")

def __del__(self):
"""Wait for the Redis connection to close"""
Expand Down

0 comments on commit a3d822b

Please sign in to comment.