mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2025-11-13 13:40:43 -05:00
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`. |
||
|---|---|---|
| .. | ||
| caches | ||
| __init__.py | ||
| async.py | ||
| distributor.py | ||
| frozenutils.py | ||
| httpresourcetree.py | ||
| jsonobject.py | ||
| logcontext.py | ||
| logutils.py | ||
| manhole.py | ||
| metrics.py | ||
| msisdn.py | ||
| ratelimitutils.py | ||
| retryutils.py | ||
| rlimit.py | ||
| stringutils.py | ||
| versionstring.py | ||
| wheel_timer.py | ||