-
- Downloads
delete unnecessary `real_users_cache`, fix overwriting push_target iter, add...
delete unnecessary `real_users_cache`, fix overwriting push_target iter, add proper function for getting local active users in room
this `real_users_cache` cache seems weird, and i have no idea what
prompted its creation upstream. perhaps they did this because
sqlite was very slow and their rocksdb setup is very poor, so
a "solution" was to stick member counts in memory.
slow iterators, scanning, etc do not apply to conduwuit where
our rocksdb is extremely tuned, and i seriously doubt something
like this would have any real world net-positive performance impact.
also for some reason, there is suspicious logic where we
overwrite the entire push target collection.
both of these things could be a potential cause for receiving
notifications in rooms we've left.
Signed-off-by:
strawberry <strawberry@puppygock.gay>
parent
c1227340
No related branches found
No related tags found
Showing
- src/database/kvdatabase.rs 1 addition, 3 deletionssrc/database/kvdatabase.rs
- src/service/globals/data.rs 1 addition, 8 deletionssrc/service/globals/data.rs
- src/service/rooms/state_cache/data.rs 15 additions, 34 deletionssrc/service/rooms/state_cache/data.rs
- src/service/rooms/state_cache/mod.rs 8 additions, 6 deletionssrc/service/rooms/state_cache/mod.rs
- src/service/rooms/timeline/mod.rs 3 additions, 5 deletionssrc/service/rooms/timeline/mod.rs
- src/service/sending/sender.rs 2 additions, 2 deletionssrc/service/sending/sender.rs
Loading
Please register or sign in to comment