Added another TODO note

pull/68/head
Paul "LeoNerd" Evans 2015-02-11 16:18:21 +00:00
parent 45b56609ae
commit 7f47ba7383
1 changed files with 3 additions and 0 deletions

View File

@ -264,6 +264,9 @@ class RoomMemberStore(SQLBaseStore):
user_id, membership_list=[Membership.JOIN],
)
# TODO(paul): Consider applying a maximum size; just evict things at
# random, or consider LRU?
self._user_rooms_cache[user_id] = rooms
defer.returnValue(rooms)