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 Pass pointers to events — reloaded (#1583) 2020-11-16 15:44:53 +00:00
storage.go Top-level setup package (#1605) 2020-12-02 17:41:00 +00:00
storage_wasm.go Top-level setup package (#1605) 2020-12-02 17:41:00 +00:00