mirror of
https://mau.dev/maunium/synapse.git
synced 2024-11-15 22:42:23 +01:00
95f21c7a66
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`. |
||
---|---|---|
.. | ||
api | ||
appservice | ||
config | ||
crypto | ||
events | ||
handlers | ||
metrics | ||
replication | ||
rest | ||
storage | ||
util | ||
__init__.py | ||
test_distributor.py | ||
test_dns.py | ||
test_preview.py | ||
test_state.py | ||
test_test_utils.py | ||
test_types.py | ||
unittest.py | ||
utils.py |