mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-11-16 05:36:50 +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
+1
-1
@@ -90,7 +90,7 @@ impl Services {
|
||||
state_compressor: rooms::state_compressor::Service {
|
||||
db,
|
||||
stateinfo_cache: Mutex::new(LruCache::new(
|
||||
(100.0 * config.conduit_cache_capacity_modifier) as usize,
|
||||
(1000.0 * config.conduit_cache_capacity_modifier) as usize,
|
||||
)),
|
||||
},
|
||||
timeline: rooms::timeline::Service {
|
||||
|
||||
Reference in new issue
Block a user