Switch from Memcached to Redis
This commit is contained in:
parent
f6b316dcfa
commit
1670b6d427
3 changed files with 17 additions and 3 deletions
|
@ -111,8 +111,8 @@ WSGI_APPLICATION = 'lemoncurry.wsgi.application'
|
|||
|
||||
CACHES = {
|
||||
'default': {
|
||||
'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache',
|
||||
'LOCATION': '127.0.0.1:11211',
|
||||
'BACKEND': 'redis_cache.RedisCache',
|
||||
'LOCATION': '127.0.0.1:6380',
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue