improvement: faster /syncs
This commit is contained in:
parent
0cec421930
commit
2a00c547a1
3 changed files with 71 additions and 28 deletions
|
@ -263,6 +263,7 @@ impl Database {
|
|||
stateinfo_cache: Mutex::new(LruCache::new(
|
||||
(100.0 * config.conduit_cache_capacity_modifier) as usize,
|
||||
)),
|
||||
lasttimelinecount_cache: Mutex::new(HashMap::new()),
|
||||
},
|
||||
account_data: account_data::AccountData {
|
||||
roomuserdataid_accountdata: builder.open_tree("roomuserdataid_accountdata")?,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue