anonymousland-synapse/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 Rename network_id to instance_id on client side 2016-12-12 16:05:45 +00:00
config Merge pull request #1795 from matrix-org/erikj/port_defaults 2017-01-13 13:02:59 +00:00
crypto Preserve some logcontexts 2016-08-24 11:58:40 +01:00
events gah, fix mangled merge of 0.18.7 into develop 2017-01-07 04:00:42 +00:00
federation Name linearizer's for better logs 2017-01-09 17:17:10 +00:00
handlers Add missing None check 2017-01-11 10:57:03 +00:00
http Merge branch 'release-v0.18.6' into develop 2016-12-29 17:33:46 +00:00
metrics Rename the python-specific metrics now the docs claim that we have done 2016-11-03 17:03:52 +00:00
push Add /room/<room_id>/joined_members API 2016-12-08 13:32:07 +00:00
replication Add cache to get_public_room_ids_at_stream_id 2016-12-12 14:41:51 +00:00
rest Fix spurious Unhandled Error log lines 2017-01-12 17:19:47 +00:00
static/client Updates to fallback CAS login to do new token login 2015-11-06 09:57:17 +00:00
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 Bump version and changelog 2017-01-09 14:47:56 +00:00
event_auth.py Split event auth code into seperate module 2017-01-13 15:07:32 +00:00
notifier.py Correctly handle timeout errors 2016-12-09 16:30:29 +00:00
python_dependencies.py Bump twisted dependency 2016-12-18 23:16:43 +01:00
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 Fix login with m.login.token 2016-08-08 16:40:39 +01:00
state.py Up cache max entries for state 2017-01-16 15:08:17 +00:00
types.py Add new API appservice specific public room list 2016-12-06 16:12:27 +00:00
visibility.py Replace context.current_state with context.current_state_ids 2016-08-25 17:32:22 +01:00