dendrite/roomserver/storage
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
..
postgres Hit the database far less in Events to find room NIDs and room versions (#1643) 2020-12-16 10:33:28 +00:00
shared Add RoomInfo cache, remove RoomServerRoomNIDsCache (#1646) 2020-12-16 12:15:12 +00:00
sqlite3 Hit the database far less in Events to find room NIDs and room versions (#1643) 2020-12-16 10:33:28 +00:00
tables Hit the database far less in Events to find room NIDs and room versions (#1643) 2020-12-16 10:33:28 +00:00
interface.go
storage_wasm.go
storage.go