Skip to content

Commit

Permalink
adding isolate db location and ingore for django_redis exceptions
Browse files Browse the repository at this point in the history
  • Loading branch information
rebeccahhh committed Jun 4, 2020
1 parent 22bf62c commit c6beb6a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion awx/settings/defaults.py
Original file line number Diff line number Diff line change
Expand Up @@ -439,10 +439,11 @@ def IS_TESTING(argv=None):
}

# Django Caching Configuration
DJANGO_REDIS_IGNORE_EXCEPTIONS = True
CACHES = {
'default': {
'BACKEND': 'django_redis.cache.RedisCache',
'LOCATION': 'unix:/var/run/redis/redis.sock'
'LOCATION': 'unix:/var/run/redis/redis.sock?db=1'
},
}

Expand Down

0 comments on commit c6beb6a

Please sign in to comment.