unrhodecode/rhodecode/lib/rc_cache
Marcin Kuzminski c218e2a9ea 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.
2018-08-03 14:34:33 +02:00
..
__init__.py caches: new cache context managers. 2018-08-02 18:04:52 +02:00
backends.py caches: use safer method of purging keys from memory dict. During some concurrency tests 2018-08-02 12:13:00 +02:00
region_meta.py caches: rewrite of auth/permission caches to dogpile. 2018-07-05 20:14:33 +02:00
utils.py caches: use .refresh() instead of .invalidate() 2018-08-03 14:34:33 +02:00