mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-11-14 04:37:00 +00:00
Improve sync performance with more caching and wrapping things in Arcs to avoid copies
This commit is contained in:
12 files changed
+112
-98
No files matched your search
+2
-2
@@ -587,8 +587,8 @@ impl KeyValueDatabase {
|
||||
|
||||
services().rooms.state_compressor.save_state_from_diff(
|
||||
current_sstatehash,
|
||||
statediffnew,
|
||||
statediffremoved,
|
||||
Arc::new(statediffnew),
|
||||
Arc::new(statediffremoved),
|
||||
2, // every state change is 2 event changes on average
|
||||
states_parents,
|
||||
)?;
|
||||
|
||||
Reference in new issue
Block a user