0
0
Fork 0
mirror of https://github.com/matrix-org/dendrite synced 2024-12-15 00:53:44 +01:00
dendrite/internal/caching
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
..
cache_federationevents.go Federation sender event cache (#1614) 2020-12-04 14:52:10 +00:00
cache_roominfo.go Add RoomInfo cache, remove RoomServerRoomNIDsCache (#1646) 2020-12-16 12:15:12 +00:00
cache_roomservernids.go Add RoomInfo cache, remove RoomServerRoomNIDsCache (#1646) 2020-12-16 12:15:12 +00:00
cache_roomversions.go More flexible caching (#1101) 2020-06-05 16:42:01 +01:00
cache_serverkeys.go More server key updates, tests (#1129) 2020-06-16 13:11:20 +01:00
caches.go Add RoomInfo cache, remove RoomServerRoomNIDsCache (#1646) 2020-12-16 12:15:12 +00:00
impl_inmemorylru.go Add RoomInfo cache, remove RoomServerRoomNIDsCache (#1646) 2020-12-16 12:15:12 +00:00