Skip to content

Commit

Permalink
Add default value for redis cache env
Browse files Browse the repository at this point in the history
  • Loading branch information
gagantrivedi committed Oct 19, 2023
1 parent c94e210 commit cc103d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/app/settings/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -654,7 +654,7 @@
)

# Uses redis-py native URL notation
REDIS_CACHE_URL = env.str("REDIS_CACHE_URL")
REDIS_CACHE_URL = env.str("REDIS_CACHE_URL", None)


if REDIS_CACHE_URL:
Expand Down

0 comments on commit cc103d6

Please sign in to comment.