MatrixSynapse/synapse/util
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
..
caches
__init__.py
async.py
distributor.py
frozenutils.py
httpresourcetree.py
jsonobject.py
logcontext.py
logutils.py
manhole.py
metrics.py
msisdn.py
ratelimitutils.py
retryutils.py
rlimit.py
stringutils.py Reduce size of joined_user cache 2017-04-25 14:38:51 +01:00
versionstring.py
wheel_timer.py