rocksdb as default

This commit is contained in:
Timo Kösters 2021-12-10 21:34:45 +01:00
parent 1d647a1a9a
commit a30b588ede
No known key found for this signature in database
GPG key ID: 356E705610F626D5
2 changed files with 5 additions and 5 deletions

View file

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