mirror of
https://github.com/TitanEmbeds/Titan.git
synced 2024-11-15 02:21:21 +01:00
Moved cache back to the database
This commit is contained in:
parent
94d89f58ac
commit
1daa21d930
@ -9,10 +9,9 @@ import string
|
||||
import hashlib
|
||||
|
||||
cache_opts = {
|
||||
'cache.type': 'file', #'ext:database',
|
||||
'cache.data_dir': 'tmp/cachedata',
|
||||
'cache.lock_dir': 'tmp/cachelock',
|
||||
#'cache.url': config["database-uri"],
|
||||
'cache.type': 'ext:database',
|
||||
'cache.url': config["database-uri"],
|
||||
'cache.sa.pool_recycle': 250,
|
||||
}
|
||||
cache = CacheManager(**parse_cache_config_options(cache_opts))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user