anonymousland-synapse/synapse/util/caches
Richard van der Hoff 95f21c7a66 Fix caching of remote servers' signature keys
The `@cached` decorator on `KeyStore._get_server_verify_key` was missing
its `num_args` parameter, which meant that it was returning the wrong key for
any server which had more than one recorded key.

By way of a fix, change the default for `num_args` to be *all* arguments. To
implement that, factor out a common base class for `CacheDescriptor` and `CacheListDescriptor`.
2017-03-22 15:11:30 +00:00
..
__init__.py Measure metrics of string_cache 2017-01-17 17:04:46 +00:00
descriptors.py Fix caching of remote servers' signature keys 2017-03-22 15:11:30 +00:00
dictionary_cache.py Speed up cache size calculation 2017-01-17 11:18:13 +00:00
expiringcache.py Add setdefault key to ExpiringCache 2017-03-10 10:30:49 +00:00
lrucache.py Update LruCache size estimate on clear 2017-01-18 14:55:23 +00:00
response_cache.py Cache federation state responses 2016-07-21 10:30:12 +01:00
snapshot_cache.py Fix up logcontexts 2016-02-08 14:26:45 +00:00
stream_change_cache.py Fix assertion to stop transaction queue getting wedged 2017-03-15 12:16:55 +00:00
treecache.py Rename and comment tree_to_leaves_iterator 2017-01-17 11:47:03 +00:00