mirror of
https://github.com/element-hq/synapse.git
synced 2024-11-29 07:28:55 +03:00
Added another TODO note
This commit is contained in:
parent
45b56609ae
commit
7f47ba7383
1 changed files with 3 additions and 0 deletions
|
@ -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 a new issue