synapse/tests/util/caches
Richard van der Hoff 903d11c43a
Add DeferredCache.get_immediate method (#8568)
* 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
2020-10-19 15:00:12 +01:00
..
__init__.py Fix caching of remote servers' signature keys 2017-03-22 15:11:30 +00:00
test_deferred_cache.py Add DeferredCache.get_immediate method (#8568) 2020-10-19 15:00:12 +01:00
test_descriptors.py move DeferredCache into its own module 2020-10-14 23:38:14 +01:00
test_ttlcache.py Retry well-known lookup before expiry. 2019-08-13 16:20:38 +01:00