aboutsummaryrefslogtreecommitdiffstats
path: root/settings.py
diff options
context:
space:
mode:
authorFilipp Lepalaan <filipp@mac.com>2016-03-18 12:57:42 +0200
committerFilipp Lepalaan <filipp@mac.com>2016-03-18 12:57:42 +0200
commitaa34239d1c85517cdb2bcb1a014a6f90a67e592e (patch)
treee0d4f9e0aa664b8fb6cd1128f301f84bb1b0ee47 /settings.py
parentd2677674eec9cebaa0748d8035cc1ac8329444e2 (diff)
downloadServo-aa34239d1c85517cdb2bcb1a014a6f90a67e592e.tar.gz
Servo-aa34239d1c85517cdb2bcb1a014a6f90a67e592e.tar.bz2
Servo-aa34239d1c85517cdb2bcb1a014a6f90a67e592e.zip
Added 24-hour comptia cache
Diffstat (limited to 'settings.py')
-rw-r--r--settings.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/settings.py b/settings.py
index 0d513f3..805d764 100644
--- a/settings.py
+++ b/settings.py
@@ -230,3 +230,10 @@ CELERYBEAT_SCHEDULE = {
}
from local_settings import *
+
+CACHES['comptia'] = {
+ 'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache',
+ 'LOCATION': '127.0.0.1:11211',
+ 'TIMEOUT': 60*60*24,
+ 'KEY_PREFIX': 'comptia_'
+}