1
0
Fork 0

Fix Redis typo

merge-requests/136/head
Nikos Roussos 2017-02-21 19:29:06 +02:00
parent 3c65aaebfc
commit 367d5c199b
No known key found for this signature in database
GPG Key ID: BADFF1767BA7C8E1
3 changed files with 3 additions and 3 deletions

View File

@ -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'

View File

@ -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'
},

View File

@ -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'
},