caches: use dogpile for sql_cache_short region.
This commit is contained in:
parent
0e05d6dd64
commit
84d673d387
14 changed files with 239 additions and 281 deletions
|
|
@ -70,8 +70,7 @@ def disable_hooks(request, hooks):
|
|||
ui_settings.invalidate()
|
||||
|
||||
ui_settings = session.query(db.RhodeCodeUi).options(
|
||||
caching_query.FromCache(
|
||||
'sql_cache_short', 'get_hook_settings', 'get_hook_settings'))
|
||||
caching_query.FromCache('sql_cache_short', 'get_hook_settings'))
|
||||
ui_settings.invalidate()
|
||||
|
||||
@request.addfinalizer
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue