Mercurial > public > sg101
changeset 878:fb0d2871afa4
Use UNIX socket for memcached.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sat, 03 Jan 2015 14:24:52 -0600 |
parents | c786908b95ca |
children | a423e8fd082d |
files | sg101/settings/production.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/sg101/settings/production.py Sat Jan 03 10:55:45 2015 -0600 +++ b/sg101/settings/production.py Sat Jan 03 14:24:52 2015 -0600 @@ -36,7 +36,7 @@ CACHES = { 'default': { 'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache', - 'LOCATION': '127.0.0.1:11211', + 'LOCATION': 'unix:/var/run/memcached/memcached.sock', 'TIMEOUT': 600, 'KEY_PREFIX': 'sg101', },