diff options
author | Lukas Fleischer <lfleischer@archlinux.org> | 2019-10-07 18:19:20 +0200 |
---|---|---|
committer | Lukas Fleischer <lfleischer@archlinux.org> | 2019-10-07 18:21:03 +0200 |
commit | 734527370d1074edc2d9eadf191a6bc28fcd3dc2 (patch) | |
tree | e4a71fef80ff6928282fcd2439e3dace96726368 /conf/config.defaults | |
parent | f804ea4abb8001ddcc2cbc5bbb59d5f85c68b737 (diff) | |
download | aur-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/config.defaults')
-rw-r--r-- | conf/config.defaults | 1 |
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] |