0
0
Fork 0
mirror of https://github.com/matrix-org/dendrite synced 2025-01-07 13:34:33 +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
membership_updater.go
prepare.go
storage.go