summaryrefslogtreecommitdiff
path: root/example_project
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2019-03-18 00:13:45 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2019-06-17 13:21:27 +0200
commit05bc5da025839537ed0ca5c4b465ccab5a7b57b3 (patch)
tree6b76c894c6f5137f0e3cfdeb4d45afa7b5b72bcb /example_project
parent33860f86e6ec71435df7116746aae843a28fa14e (diff)
downloadIshtar-05bc5da025839537ed0ca5c4b465ccab5a7b57b3.tar.bz2
Ishtar-05bc5da025839537ed0ca5c4b465ccab5a7b57b3.zip
Improve performance of cached_label and geo post_save
Diffstat (limited to 'example_project')
-rw-r--r--example_project/settings.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/example_project/settings.py b/example_project/settings.py
index bf2b26c31..f53176622 100644
--- a/example_project/settings.py
+++ b/example_project/settings.py
@@ -19,6 +19,7 @@ if "test" in sys.argv:
IMAGE_MAX_SIZE = (1280, 960) # put None if no resizing
THUMB_MAX_SIZE = (600, 600)
+CACHE_TASK_TIMEOUT = 4
CACHE_SMALLTIMEOUT = 60
CACHE_TIMEOUT = 3600
CACHE_BACKEND = 'memcached://127.0.0.1:11211/'