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
+1 -1
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()?,
)))