Added another TODO note
This commit is contained in:
parent
45b56609ae
commit
7f47ba7383
|
@ -264,6 +264,9 @@ class RoomMemberStore(SQLBaseStore):
|
||||||
user_id, membership_list=[Membership.JOIN],
|
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
|
self._user_rooms_cache[user_id] = rooms
|
||||||
defer.returnValue(rooms)
|
defer.returnValue(rooms)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue