0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-16 01:03:52 +01:00
synapse/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 Split out create_resource_tree to a separate file 2016-04-22 15:40:51 +01:00
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 Add a metrics listener and a ssh listener to the pusher 2016-04-25 17:34:25 +01:00
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 Remove some unused functions (#711) 2016-04-08 14:01:56 +01:00
retryutils.py Merge pull request #2050 from matrix-org/rav/federation_backoff 2017-03-23 22:27:01 +00:00
rlimit.py Move the versionstring code out of app.homeserver into util 2016-04-11 14:57:09 +01:00
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 Add presence metrics 2016-02-19 09:50:54 +00:00