0
0
Fork 0
mirror of https://github.com/matrix-org/dendrite synced 2024-12-15 10:53:46 +01:00
dendrite/roomserver/storage/shared
Neil Alexander b891c00b09
Add RoomInfo cache, remove RoomServerRoomNIDsCache (#1646)
* Add RoomInfo cache, remove RoomServerRoomNID cache, ensure caches are thread-safe

* Don't panic if the roomInfo isn't known yet

* LRU package is already threadsafe

* Use RoomInfo cache to find room version if possible in Events()

* Adding comments about RoomInfoCache safety
2020-12-16 12:15:12 +00:00
..
latest_events_updater.go Add RoomInfo cache, remove RoomServerRoomNIDsCache (#1646) 2020-12-16 12:15:12 +00:00
membership_updater.go Implement forgetting about rooms (#1572) 2020-11-05 10:19:23 +00:00
prepare.go Merge Updater structs (#1069) 2020-05-28 11:15:21 +01:00
storage.go Add RoomInfo cache, remove RoomServerRoomNIDsCache (#1646) 2020-12-16 12:15:12 +00:00