synapse-old/tests/util
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
..
caches Add `DeferredCache.get_immediate` method (#8568) 2020-10-19 15:00:12 +01:00
__init__.py
test_async_utils.py
test_dict_cache.py
test_expiring_cache.py
test_file_consumer.py Stop sub-classing object (#8249) 2020-09-04 06:54:56 -04:00
test_itertools.py
test_linearizer.py
test_logcontext.py Fix some spelling mistakes / typos. (#7811) 2020-07-09 09:52:58 -04:00
test_logformatter.py
test_lrucache.py Make LruCache register its own metrics (#8561) 2020-10-16 15:51:57 +01:00
test_ratelimitutils.py
test_retryutils.py Reduce run-times of tests by advancing the reactor less (#7757) 2020-08-27 11:39:53 +01:00
test_rwlock.py Convert ReadWriteLock to async/await. (#8202) 2020-08-28 16:47:11 -04:00
test_stream_change_cache.py
test_stringutils.py Remove : from allowed client_secret chars (#8101) 2020-08-18 14:14:27 +01:00
test_threepids.py Fix inconsistent handling of upper and lower cases of email addresses. (#7021) 2020-07-03 14:03:13 +01:00
test_treecache.py
test_wheel_timer.py