summaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorLukas Fleischer <lfleischer@archlinux.org>2019-10-07 18:19:20 +0200
committerLukas Fleischer <lfleischer@archlinux.org>2019-10-07 18:21:03 +0200
commit734527370d1074edc2d9eadf191a6bc28fcd3dc2 (patch)
treee4a71fef80ff6928282fcd2439e3dace96726368 /conf
parentf804ea4abb8001ddcc2cbc5bbb59d5f85c68b737 (diff)
downloadaur-734527370d1074edc2d9eadf191a6bc28fcd3dc2.tar.gz
aur-734527370d1074edc2d9eadf191a6bc28fcd3dc2.tar.xz
Make package details cache TTL configurable
The TTL for package details can be much longer than for generic values since they never change. Note that when an update is pushed via Git, all packages belonging to that package base are deleted and new packages are created. Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
Diffstat (limited to 'conf')
-rw-r--r--conf/config.defaults1
1 files changed, 1 insertions, 0 deletions
diff --git a/conf/config.defaults b/conf/config.defaults
index c8bc3a7e..c519eae6 100644
--- a/conf/config.defaults
+++ b/conf/config.defaults
@@ -38,6 +38,7 @@ render-comment-cmd = /usr/local/bin/aurweb-rendercomment
localedir = /srv/http/aurweb/aur.git/web/locale/
# memcache or apc
cache = none
+cache_pkginfo_ttl = 86400
memcache_servers = 127.0.0.1:11211
[ratelimit]