continuwuity/src/database
strawberry c738c119f8 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>
2024-06-05 18:18:08 -04:00
..
rocksdb Fix items-after-statements 2024-06-02 12:34:05 -04:00
sqlite replace num_cpus dependency with available_parallelism() 2024-05-27 18:16:23 -04:00
Cargo.toml update deps, remove unnecessary zstd crate, pin rust-rocksdb rev 2024-06-03 14:17:32 -04:00
cork.rs Hot-Reloading Refactor 2024-05-21 20:22:17 -04:00
kvdatabase.rs delete unnecessary real_users_cache, fix overwriting push_target iter, add proper function for getting local active users in room 2024-06-05 18:18:08 -04:00
kvengine.rs Hot-Reloading Refactor 2024-05-21 20:22:17 -04:00
kvtree.rs Hot-Reloading Refactor 2024-05-21 20:22:17 -04:00
mod.rs Hot-Reloading Refactor 2024-05-21 20:22:17 -04:00
watchers.rs resolve almost all as_conversions lints 2024-05-06 03:45:10 -04:00