Fix Redis typo
parent
3c65aaebfc
commit
367d5c199b
|
@ -59,7 +59,7 @@ CACHES = {
|
|||
'LOCATION': 'unique-snowflake'
|
||||
}
|
||||
}
|
||||
CACHE_TTL = getenv('CACHE_TTL', 300)
|
||||
CACHE_TTL = int(getenv('CACHE_TTL', 300))
|
||||
|
||||
# Internationalization
|
||||
TIME_ZONE = 'UTC'
|
||||
|
|
|
@ -16,7 +16,7 @@ INSTALLED_APPS = INSTALLED_APPS + (
|
|||
CACHES = {
|
||||
'default': {
|
||||
'BACKEND': 'redis_cache.RedisCache',
|
||||
'LOCATION': 'unix:/var/run/redis/redis.sock',
|
||||
'LOCATION': 'unix://var/run/redis/redis.sock',
|
||||
'OPTIONS': {
|
||||
'CLIENT_CLASS': 'django_redis.client.DefaultClient'
|
||||
},
|
||||
|
|
|
@ -16,7 +16,7 @@ INSTALLED_APPS = INSTALLED_APPS + (
|
|||
CACHES = {
|
||||
'default': {
|
||||
'BACKEND': 'redis_cache.RedisCache',
|
||||
'LOCATION': 'unix:/var/run/redis/redis.sock',
|
||||
'LOCATION': 'unix://var/run/redis/redis.sock',
|
||||
'OPTIONS': {
|
||||
'CLIENT_CLASS': 'django_redis.client.DefaultClient'
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue