|
|
|
@ -318,10 +318,10 @@ impl Database { |
|
|
|
.expect("pdu cache capacity fits into usize"), |
|
|
|
.expect("pdu cache capacity fits into usize"), |
|
|
|
)), |
|
|
|
)), |
|
|
|
auth_chain_cache: Mutex::new(LruCache::new(1_000_000)), |
|
|
|
auth_chain_cache: Mutex::new(LruCache::new(1_000_000)), |
|
|
|
shorteventid_cache: Mutex::new(LruCache::new(100_000_000)), |
|
|
|
shorteventid_cache: Mutex::new(LruCache::new(1_000_000)), |
|
|
|
eventidshort_cache: Mutex::new(LruCache::new(100_000_000)), |
|
|
|
eventidshort_cache: Mutex::new(LruCache::new(1_000_000)), |
|
|
|
shortstatekey_cache: Mutex::new(LruCache::new(100_000_000)), |
|
|
|
shortstatekey_cache: Mutex::new(LruCache::new(1_000_000)), |
|
|
|
statekeyshort_cache: Mutex::new(LruCache::new(100_000_000)), |
|
|
|
statekeyshort_cache: Mutex::new(LruCache::new(1_000_000)), |
|
|
|
our_real_users_cache: RwLock::new(HashMap::new()), |
|
|
|
our_real_users_cache: RwLock::new(HashMap::new()), |
|
|
|
appservice_in_room_cache: RwLock::new(HashMap::new()), |
|
|
|
appservice_in_room_cache: RwLock::new(HashMap::new()), |
|
|
|
stateinfo_cache: Mutex::new(LruCache::new(1000)), |
|
|
|
stateinfo_cache: Mutex::new(LruCache::new(1000)), |
|
|
|
|