mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-12-21 23:05:01 -05:00
f85b6ca494
Instead of calculating the size of the cache repeatedly, which can take a long time now that it can use a callback, instead cache the size and update that on insertion and deletion. This requires changing the cache descriptors to have two caches, one for pending deferreds and the other for the actual values. There's no reason to evict from the pending deferreds as they won't take up any more memory. |
||
---|---|---|
.. | ||
__init__.py | ||
event_injector.py | ||
test__base.py | ||
test_appservice.py | ||
test_background_update.py | ||
test_base.py | ||
test_client_ips.py | ||
test_devices.py | ||
test_directory.py | ||
test_end_to_end_keys.py | ||
test_event_push_actions.py | ||
test_events.py | ||
test_presence.py | ||
test_profile.py | ||
test_redaction.py | ||
test_registration.py | ||
test_room.py | ||
test_roommember.py |