mirror of
https://github.com/TitanEmbeds/Titan.git
synced 2025-06-17 03:45:25 +02:00
Use filebased beaker until they fix db pool recycle
This commit is contained in:
@ -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))
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user