Remove auth_cache using a closure to fetch events in state-res
This commit is contained in:
parent
05821d6fd5
commit
98f1480e2b
6 changed files with 163 additions and 239 deletions
|
@ -65,7 +65,7 @@ impl DatabaseEngine for SledEngine {
|
|||
sled::Config::default()
|
||||
.path(&config.database_path)
|
||||
.cache_capacity(config.cache_capacity as u64)
|
||||
.use_compression(false)
|
||||
.use_compression(true)
|
||||
.open()?,
|
||||
)))
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue