diff options
author | Erik Johnston <erik@matrix.org> | 2017-04-25 15:18:26 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2017-04-25 15:18:26 +0100 |
commit | f144365281e0c925ea467669cbfc6253e00f10e6 (patch) | |
tree | 969c187c4847780f3961dfb260b0637923172664 | |
parent | Reduce size of joined_user cache (diff) | |
download | synapse-f144365281e0c925ea467669cbfc6253e00f10e6.tar.xz |
Comment
-rw-r--r-- | synapse/storage/roommember.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/synapse/storage/roommember.py b/synapse/storage/roommember.py index 68e724ac7f..7ad2198d96 100644 --- a/synapse/storage/roommember.py +++ b/synapse/storage/roommember.py @@ -36,6 +36,8 @@ RoomsForUser = namedtuple( ) +# We store this using a namedtuple so that we save about 3x space over using a +# dict. ProfileInfo = namedtuple( "ProfileInfo", ("avatar_url", "display_name") ) |