forked-synapse/synapse/util/caches
Patrick Cloke 13ca8bb2fc
Remove duplicated code to evict entries. (#14410)
This code was factored out to a method, but also left in-place.

Calling this twice in a row makes no sense: the first call will reduce
the size appropriately, but the loop will immediately exit since the
cache size was already reduced.
2022-11-10 15:33:34 -05:00
..
__init__.py Fix a memory leak when running the unit tests. (#13798) 2022-09-14 15:29:05 +00:00
cached_call.py Add missing type hints to synapse.logging.context (#11556) 2021-12-14 17:35:28 +00:00
deferred_cache.py Bump flake8-bugbear from 21.3.2 to 22.9.23 (#14042) 2022-10-19 19:38:24 +00:00
descriptors.py Remove unused @lru_cache decorator (#13595) 2022-10-25 11:39:25 +01:00
dictionary_cache.py Make DictionaryCache have better expiry properties (#13292) 2022-07-21 17:13:44 +01:00
expiringcache.py Track cache invalidations (#12000) 2022-02-15 14:31:04 +00:00
lrucache.py Optimise async get event lookups (#13435) 2022-08-04 15:49:55 +01:00
response_cache.py Improve opentracing support for ResponseCache (#11607) 2021-12-20 18:12:08 +00:00
stream_change_cache.py Remove duplicated code to evict entries. (#14410) 2022-11-10 15:33:34 -05:00
treecache.py Speed up @cachedList (#13591) 2022-08-23 14:53:27 +00:00
ttlcache.py Remove unused # type: ignores (#12531) 2022-04-27 14:03:44 +01:00