0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-07-03 09:58:20 +02:00
synapse/tests/storage
Erik Johnston f85b6ca494 Speed up cache size calculation
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.
2017-01-17 11:18:13 +00:00
..
__init__.py Reference Matrix Home Server 2014-08-12 15:10:52 +01:00
event_injector.py Add filter param to /messages API 2016-07-14 16:30:56 +01:00
test__base.py Speed up cache size calculation 2017-01-17 11:18:13 +00:00
test_appservice.py Fix tests 2016-11-21 11:53:02 +00:00
test_background_update.py PEP8 2016-07-25 12:25:06 +01:00
test_base.py Don't require config to create database 2016-04-06 14:15:45 +01:00
test_client_ips.py GET /devices endpoint 2016-07-20 16:42:32 +01:00
test_devices.py Implement updating devices 2016-07-26 07:35:48 +01:00
test_directory.py copyrights 2016-01-07 04:26:29 +00:00
test_end_to_end_keys.py PEP8 2016-08-03 15:42:08 +01:00
test_event_push_actions.py Create separate methods for getting messages to push 2016-07-28 20:24:24 +01:00
test_events.py Add filter param to /messages API 2016-07-14 16:30:56 +01:00
test_presence.py Remove some unused functions (#711) 2016-04-08 14:01:56 +01:00
test_profile.py Fix flake8 warnings for tests 2016-02-19 15:34:38 +00:00
test_redaction.py Remove some unused functions (#711) 2016-04-08 14:01:56 +01:00
test_registration.py fix imports 2016-11-30 17:45:49 +00:00
test_room.py Fix flake8 warnings for tests 2016-02-19 15:34:38 +00:00
test_roommember.py Fix unit tests 2016-08-26 15:40:27 +01:00