mirror of
https://github.com/matrix-org/synapse.git
synced 2025-08-23 07:21:02 +02:00
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…
x
Reference in New Issue
Block a user