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

r552:9a0f45b0 default
r2939:913f92bf default
Show More
common.py
36 lines | 1.2 KiB | text/x-python | PythonLexer
# Try and keep this list alphabetical
# ui is for user interface elements and messages
# button - that's obvious
rst_epilog = '''
.. |AE| replace:: Appenlight
.. |authtoken| replace:: Authentication Token
.. |authtokens| replace:: **Auth Tokens**
.. |RCCEshort| replace:: Community
.. |RCEEshort| replace:: Enterprise
.. |git| replace:: Git
.. |hg| replace:: Mercurial
.. |svn| replace:: Subversion
.. |LDAP| replace:: LDAP / Active Directory
.. |os| replace:: operating system
.. |OS| replace:: Operating System
.. |PY| replace:: Python
.. |pr| replace:: pull request
.. |prs| replace:: pull requests
.. |psf| replace:: Python Software Foundation
.. |repo| replace:: repository
.. |repos| replace:: repositories
.. |RCI| replace:: RhodeCode Control
.. |RCC| replace:: RhodeCode Control
.. |RCV| replace:: RhodeCode Enterprise
.. |RCM| replace:: RhodeCode Enterprise
.. |RCE| replace:: RhodeCode Enterprise
.. |RCCE| replace:: RhodeCode Community
.. |RCEE| replace:: RhodeCode Enterprise
.. |RCX| replace:: RhodeCode Extensions
.. |RCT| replace:: RhodeCode Tools
.. |RCEBOLD| replace:: **RhodeCode Enterprise**
.. |RCEITALICS| replace:: `RhodeCode Enterprise`
.. |RC| replace:: RhodeCode
.. |RNS| replace:: Release Notes
'''