##// 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.
marcink -
r2939:913f92bf default
Show More
Name Size Modified Last Commit Author
/ rhodecode / tests / vcs
__init__.py Loading ...
conftest.py Loading ...
test_archives.py Loading ...
test_branches.py Loading ...
test_client_http.py Loading ...
test_commits.py Loading ...
test_config.py Loading ...
test_diff.py Loading ...
test_exceptions.py Loading ...
test_filenodes_unicode_path.py Loading ...
test_getitem.py Loading ...
test_getslice.py Loading ...
test_git.py Loading ...
test_hg.py Loading ...
test_hg_vcsserver_cache_invalidation.py Loading ...
test_inmemory.py Loading ...
test_load.py Loading ...
test_nodes.py Loading ...
test_repository.py Loading ...
test_svn.py Loading ...
test_tags.py Loading ...
test_utils.py Loading ...
test_vcs.py Loading ...
utils.py Loading ...