mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-12-19 13:14:23 -05:00
d9aa645f86
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. |
||
---|---|---|
.. | ||
client | ||
key | ||
media | ||
__init__.py |