Skip to content

Commit

Permalink
Merge pull request #41 from AceFire6/jethro/change/cache_type_to_redis
Browse files Browse the repository at this point in the history
Ensure redis cache is used
  • Loading branch information
AceFire6 authored Aug 5, 2018
2 parents 35335f9 + f5854ce commit 45bcf69
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ordering/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
HOST = '0.0.0.0'
PORT = 5000

CACHE_TYPE = 'simple'
CACHE_REDIS_URL = os.environ.get('REDIS_URL')
CACHE_TYPE = 'redis'
CACHE_REDIS_URL = os.getenv('REDIS_URL', 'redis://localhost:6379')

ARROW_URL = 'List_of_Arrow_episodes'
CONSTANTINE_URL = 'List_of_Constantine_episodes'
Expand Down

0 comments on commit 45bcf69

Please sign in to comment.