From 53b4c1f2f853ad31f258c03826464dffd61dc1c5 Mon Sep 17 00:00:00 2001 From: Jeremy Zhang Date: Mon, 24 Apr 2017 21:49:44 -0700 Subject: [PATCH] Use filebased beaker until they fix db pool recycle --- titanembeds/utils.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/titanembeds/utils.py b/titanembeds/utils.py index b6e87cf..4d66a56 100644 --- a/titanembeds/utils.py +++ b/titanembeds/utils.py @@ -9,9 +9,10 @@ import string import hashlib cache_opts = { - 'cache.type': 'ext:database', + 'cache.type': 'file', #'ext:database', + 'cache.data_dir': 'tmp/cachedata', 'cache.lock_dir': 'tmp/cachelock', - 'cache.url': config["database-uri"], + #'cache.url': config["database-uri"], } cache = CacheManager(**parse_cache_config_options(cache_opts))