##// END OF EJS Templates
caches: use .refresh() instead of .invalidate()...
caches: use .refresh() instead of .invalidate() - .invalidate() does a delete of cached valued under a key, which means in previous logic we delete, get_or_create, and compute. - .refresh() is simply replacing exising key with newly computed values, this creates less locks, and it's faster.

File last commit:

r2114:6e357177 default
r2939:913f92bf default
Show More
user_edit_global_perms.mako
2 lines | 166 B | application/x-mako | MakoHtmlLexer
/ rhodecode / templates / admin / users / user_edit_global_perms.mako
<%namespace name="dpb" file="/base/default_perms_box.mako"/>
${dpb.default_perms_box(form_url=h.route_path('user_edit_global_perms_update', user_id=c.user.user_id))}