summaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorJelle van der Waa <jelle@vdwaa.nl>2018-03-09 23:42:51 +0100
committerLukas Fleischer <lfleischer@archlinux.org>2018-03-10 16:48:14 +0100
commitca6332de6e33be645e1abab3434237805b8f7dfa (patch)
tree19348337f6477324a297d8a4384167a0c3851d49 /conf
parentc3bca45973c8ec351f8b41421705dec7d7a620e2 (diff)
downloadaur-ca6332de6e33be645e1abab3434237805b8f7dfa.tar.gz
aur-ca6332de6e33be645e1abab3434237805b8f7dfa.tar.xz
Update cache code to INI style configuration
Change the defines to config_get and add one cache option and one option to define memcache_servers. Mention the required dependency to get memcached working in the INSTALL file. Signed-off-by: Jelle van der Waa <jelle@vdwaa.nl> Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
Diffstat (limited to 'conf')
-rw-r--r--conf/config.proto3
1 files changed, 3 insertions, 0 deletions
diff --git a/conf/config.proto b/conf/config.proto
index 934d3697..be37f430 100644
--- a/conf/config.proto
+++ b/conf/config.proto
@@ -35,6 +35,9 @@ snapshot_uri = /cgit/aur.git/snapshot/%s.tar.gz
enable-maintenance = 1
maintenance-exceptions = 127.0.0.1
render-comment-cmd = /usr/local/bin/aurweb-rendercomment
+# memcache or apc
+cache = none
+memcache_servers = 127.0.0.1:11211
[ratelimit]
request_limit = 4000