MatrixSynapse/synapse
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 Remove unused function 2017-01-13 15:16:45 +00:00
app Restore default bind address 2017-01-10 17:21:41 +00:00
appservice
config Merge pull request #1795 from matrix-org/erikj/port_defaults 2017-01-13 13:02:59 +00:00
crypto
events
federation
handlers Add missing None check 2017-01-11 10:57:03 +00:00
http
metrics
push
replication
rest Fix spurious Unhandled Error log lines 2017-01-12 17:19:47 +00:00
static/client
storage Up cache max entries for state 2017-01-16 15:08:17 +00:00
streams Actually use the new function 2016-10-24 13:39:49 +01:00
util Speed up cache size calculation 2017-01-17 11:18:13 +00:00
__init__.py
event_auth.py Split event auth code into seperate module 2017-01-13 15:07:32 +00:00
notifier.py
python_dependencies.py
server.py Shuffle receipt handler around so that worker apps don't need to load it 2016-11-23 15:14:24 +00:00
server.pyi
state.py Up cache max entries for state 2017-01-16 15:08:17 +00:00
types.py
visibility.py