1
0
Fork 0
mirror of https://gitlab.com/famedly/conduit.git synced 2025-07-02 16:38:36 +00:00

change references of cache_capacity to db_cache_capacity

This commit is contained in:
Jonathan de Jong 2021-07-12 19:53:06 +02:00
parent 7e0aab7852
commit 3260ae01b8
4 changed files with 4 additions and 4 deletions

View file

@ -14,7 +14,7 @@ impl DatabaseEngine for Engine {
Ok(Arc::new(Engine(
sled::Config::default()
.path(&config.database_path)
.cache_capacity(config.cache_capacity as u64)
.cache_capacity(config.db_cache_capacity as u64)
.use_compression(true)
.open()?,
)))