Use filebased beaker until they fix db pool recycle

This commit is contained in:
Jeremy Zhang 2017-04-24 21:49:44 -07:00
parent d1fc1b2d6e
commit 53b4c1f2f8

View File

@ -9,9 +9,10 @@ import string
import hashlib import hashlib
cache_opts = { cache_opts = {
'cache.type': 'ext:database', 'cache.type': 'file', #'ext:database',
'cache.data_dir': 'tmp/cachedata',
'cache.lock_dir': 'tmp/cachelock', 'cache.lock_dir': 'tmp/cachelock',
'cache.url': config["database-uri"], #'cache.url': config["database-uri"],
} }
cache = CacheManager(**parse_cache_config_options(cache_opts)) cache = CacheManager(**parse_cache_config_options(cache_opts))