##// 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:

r2351:59272121 default
r2939:913f92bf default
Show More
plugins_base.mako
8 lines | 248 B | application/x-mako | MakoHtmlLexer
pylons: remove pylons as dependency...
r2351
% for plugin, config in getattr(request.registry, 'rhodecode_plugins', {}).items():
<% tmpl = config['template_hooks'].get('plugin_init_template') %>
% if tmpl:
<%include file="${tmpl}" args="config=config"/>
% endif
templating: use .mako as extensions for template files.
r1282 % endfor