summary refs log tree commit diff
path: root/synapse/util/caches/deferred_cache.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Update mypy configuration: `no_implicit_optional = True` (#9742)Jonathan de Jong2021-04-051-1/+3
|
* Empty iterables should count towards cache usage. (#9028)Patrick Cloke2021-01-061-1/+1
|
* fix failure caseRichard van der Hoff2020-10-211-1/+4
|
* optimise DeferredCache.setRichard van der Hoff2020-10-211-3/+12
|
* Push some deferred wrangling down into DeferredCacheRichard van der Hoff2020-10-211-9/+48
|
* Add `DeferredCache.get_immediate` method (#8568)Richard van der Hoff2020-10-191-10/+25
| | | | | | | | | | | * Add `DeferredCache.get_immediate` method A bunch of things that are currently calling `DeferredCache.get` are only really interested in the result if it's completed. We can optimise and simplify this case. * Remove unused 'default' parameter to DeferredCache.get() * another get_immediate instance
* type annotations for LruCacheRichard van der Hoff2020-10-161-2/+3
|
* Make LruCache register its own metrics (#8561)Richard van der Hoff2020-10-161-30/+13
| | | | | rather than have everything that instantiates an LruCache manage metrics separately, have LruCache do it itself.
* move DeferredCache into its own moduleRichard van der Hoff2020-10-141-0/+292