# HG changeset patch # User Brian Neal # Date 1420316692 21600 # Node ID fb0d2871afa480baa05d235ac4fc5fdf017fb8cc # Parent c786908b95ca542e1e4e6b57a2ef0385f73d95d7 Use UNIX socket for memcached. diff -r c786908b95ca -r fb0d2871afa4 sg101/settings/production.py --- 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', },