0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2025-03-05 13:40:19 +01:00
synapse/tests
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
..
api Prevent user tokens being used as guest tokens (#1675) 2016-12-06 15:31:37 +00:00
appservice
config
crypto
events Review comments 2016-11-22 13:42:11 +00:00
handlers Stop putting a time caveat on access tokens 2016-11-29 16:49:41 +00:00
metrics
replication Shuffle receipt handler around so that worker apps don't need to load it 2016-11-23 15:14:24 +00:00
rest Linearize updates to membership via PUT /state/ 2017-01-09 18:25:13 +00:00
storage Speed up cache size calculation 2017-01-17 11:18:13 +00:00
util Speed up cache size calculation 2017-01-17 11:18:13 +00:00
__init__.py
test_distributor.py
test_dns.py
test_preview.py Fix crash in url preview when html tag has no text 2016-12-14 22:38:18 +01:00
test_state.py Correctly handle the difference between prev and current state 2016-08-31 14:26:22 +01:00
test_test_utils.py
test_types.py
unittest.py
utils.py Fix unit tests 2016-12-09 16:48:48 +00:00