forked from github/plane
chore: changed redis ssl
This commit is contained in:
parent
46dd9a4999
commit
63fd6caba6
@ -149,7 +149,7 @@ else:
|
|||||||
|
|
||||||
# Redis Config
|
# Redis Config
|
||||||
REDIS_URL = os.environ.get("REDIS_URL")
|
REDIS_URL = os.environ.get("REDIS_URL")
|
||||||
REDIS_SSL = "rediss" in REDIS_URL
|
REDIS_SSL = REDIS_URL and "rediss" in REDIS_URL
|
||||||
|
|
||||||
if REDIS_SSL:
|
if REDIS_SSL:
|
||||||
CACHES = {
|
CACHES = {
|
||||||
|
Loading…
Reference in New Issue
Block a user