forked-synapse/synapse/rest/client/v1
Erik Johnston d9aa645f86 Reduce size of joined_user cache
The _get_joined_users_from_context cache stores a mapping from user_id
to avatar_url and display_name. Instead of storing those in a dict,
store them in a namedtuple as that uses much less memory.

We also try converting the string to ascii to further reduce the size.
2017-04-25 14:38:51 +01:00
..
__init__.py copyrights 2016-01-07 04:26:29 +00:00
admin.py admin,storage: added more administrator functionalities 2017-02-02 14:02:26 +01:00
base.py Clean transactions based on time. Add HttpTransactionCache tests. 2016-11-14 11:19:24 +00:00
directory.py Add new API appservice specific public room list 2016-12-06 16:12:27 +00:00
events.py Make synchrotron accept /events 2016-08-12 15:31:44 +01:00
initial_sync.py Support /initialSync in synchrotron worker 2016-09-21 11:46:28 +01:00
login.py Merge pull request #1997 from matrix-org/dbkr/cas_partialdownload 2017-03-15 13:52:34 +00:00
logout.py Add helper function for getting access_tokens from requests 2016-09-09 16:33:15 +01:00
presence.py Format presence events on the edges instead of reformatting them multiple times 2017-03-15 14:27:34 +00:00
profile.py admin,storage: added more administrator functionalities 2017-02-02 14:02:26 +01:00
push_rule.py Load push rules in storage layer, so that they get cached 2016-06-03 11:10:00 +01:00
pusher.py Working unsubscribe links going straight to the HS 2016-06-02 17:21:31 +01:00
register.py Stop putting a time caveat on access tokens 2016-11-29 16:49:41 +00:00
room.py Reduce size of joined_user cache 2017-04-25 14:38:51 +01:00
voip.py add setting (on by default) to support TURN for guests 2017-03-15 12:22:18 +00:00