mirror of
https://gitlab.com/famedly/conduit.git
synced 2025-06-27 16:35:59 +00:00
improvement: better prev event fetching, perf improvements
This commit is contained in:
parent
8a4b7cf4bd
commit
b74b8c48ce
4 changed files with 202 additions and 69 deletions
|
@ -278,6 +278,8 @@ impl Database {
|
|||
pdu_cache: Mutex::new(LruCache::new(100_000)),
|
||||
auth_chain_cache: Mutex::new(LruCache::new(100_000)),
|
||||
shorteventid_cache: Mutex::new(LruCache::new(1_000_000)),
|
||||
eventidshort_cache: Mutex::new(LruCache::new(1_000_000)),
|
||||
statekeyshort_cache: Mutex::new(LruCache::new(1_000_000)),
|
||||
stateinfo_cache: Mutex::new(LruCache::new(1000)),
|
||||
},
|
||||
account_data: account_data::AccountData {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue