##// 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 / lib / vcs / backends / hg
__init__.py Loading ...
commit.py Loading ...
diff.py Loading ...
inmemory.py Loading ...
repository.py Loading ...