Commits

Marcin Lulek committed c824cd3

akhet should use in memory cache by default, optionally file based - but memory is good for start

Comments (0)

Files changed (2)

akhet/paster_templates/akhet/development.ini_tmpl

 
 #cache
 cache.regions = default_term, second, short_term, long_term
-cache.type = ext:memcached
-cache.url = 127.0.0.1:11211
-cache.lock_dir = %(here)s/data/cache/lock
+cache.type = memory
 cache.second.expire = 1
 cache.short_term.expire = 60
 cache.default_term.expire = 300
+cache.long_term.expire = 3600
 
 
 [pipeline:main]

akhet/paster_templates/akhet/production.ini_tmpl

 
 #cache
 cache.regions = default_term, second, short_term, long_term
-cache.type = ext:memcached
-cache.url = 127.0.0.1:11211
-cache.lock_dir = %(here)s/data/cache/lock
+cache.type = memory
 cache.second.expire = 1
 cache.short_term.expire = 60
 cache.default_term.expire = 300
+cache.long_term.expire = 3600
 
 
 [filter:weberror]