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 Remove DEBUG_CACHES 2017-04-25 10:54:09 +01:00
__init__.py Fix time_bound_deferred to throw the right exception 2017-03-23 12:07:11 +00:00
async.py Docs 2017-03-30 17:05:53 +01:00
distributor.py Remove registered_users from the distributor. 2016-06-17 19:14:16 +01:00
frozenutils.py
httpresourcetree.py
jsonobject.py Handle sending events and device messages over federation 2016-11-17 15:48:04 +00:00
logcontext.py Fix fixme in preserve_fn 2017-04-03 15:38:02 +01:00
logutils.py
manhole.py
metrics.py Only abort Measure on Exceptions 2016-08-19 18:23:45 +01:00
msisdn.py Support registration / login with phone number 2017-03-13 17:27:51 +00:00
ratelimitutils.py
retryutils.py Merge pull request #2050 from matrix-org/rav/federation_backoff 2017-03-23 22:27:01 +00:00
rlimit.py
stringutils.py Reduce size of joined_user cache 2017-04-25 14:38:51 +01:00
versionstring.py Add federation /version API 2016-08-05 16:36:07 +01:00
wheel_timer.py