fix: long prev event fetch times for huge rooms
This commit is contained in:
parent
665aee11c0
commit
9410d3ef9c
3 changed files with 49 additions and 38 deletions
|
@ -272,7 +272,7 @@ impl Database {
|
|||
referencedevents: builder.open_tree("referencedevents")?,
|
||||
pdu_cache: Mutex::new(LruCache::new(100_000)),
|
||||
auth_chain_cache: Mutex::new(LruCache::new(100_000)),
|
||||
shorteventid_cache: Mutex::new(LruCache::new(100_000)),
|
||||
shorteventid_cache: Mutex::new(LruCache::new(1_000_000)),
|
||||
},
|
||||
account_data: account_data::AccountData {
|
||||
roomuserdataid_accountdata: builder.open_tree("roomuserdataid_accountdata")?,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue